ObjFW  Diff

Differences From Artifact [15729aa028]:

To Artifact [01768df2ad]:


63
64
65
66
67
68
69
70

71
72
73
74
75
76
77

- initWithStream: (OF_KINDOF(OFStream *))stream
{
	self = [super init];

	@try {
		_archive = [[OFZIPArchive alloc]
		    initWithSeekableStream: stream];

	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}







|
>







63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78

- initWithStream: (OF_KINDOF(OFStream *))stream
{
	self = [super init];

	@try {
		_archive = [[OFZIPArchive alloc]
		    initWithSeekableStream: stream
				      mode: @"r"];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}