ObjFW  Check-in [0b13fb2e38]

Overview
Comment:utils/ofhttp: Fix a type mismatch
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0b13fb2e3878e3289fca9d15f64372b027aacc192d9e9d0537aea44430db2828
User & Date: js on 2015-05-04 22:54:26
Other Links: manifest | tags
Context
2015-05-04
23:19
Test all OFKernelEventObserver implementations check-in: 6430ae3309 user: js tags: trunk
22:54
utils/ofhttp: Fix a type mismatch check-in: 0b13fb2e38 user: js tags: trunk
20:34
Refactor OFKernelEventObserver check-in: bbe4040126 user: js tags: trunk
Changes

Modified utils/ofhttp/OFHTTP.m from [9d4b8c5595] to [2ecde9c270].

329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
	else
		fileName = [[URL path] lastPathComponent];

	clientHeaders = [[_clientHeaders mutableCopy] autorelease];

	if (_continue) {
		@try {
			off_t size = [OFFile sizeOfFileAtPath: fileName];
			OFString *range;

			if (size > INTMAX_MAX)
				@throw [OFOutOfRangeException exception];

			_resumedFrom = (intmax_t)size;








|







329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
	else
		fileName = [[URL path] lastPathComponent];

	clientHeaders = [[_clientHeaders mutableCopy] autorelease];

	if (_continue) {
		@try {
			of_offset_t size = [OFFile sizeOfFileAtPath: fileName];
			OFString *range;

			if (size > INTMAX_MAX)
				@throw [OFOutOfRangeException exception];

			_resumedFrom = (intmax_t)size;