ObjFW  Diff

Differences From Artifact [bc400146e4]:

To Artifact [997525c718]:


409
410
411
412
413
414
415
416

417
418

419
420
421
422
423
424
425
409
410
411
412
413
414
415

416
417

418
419
420
421
422
423
424
425







-
+

-
+







					line = [sock readLine];
				} @catch (OFInvalidEncodingException *e) {
					@throw [OFInvalidServerReplyException
					    exceptionWithClass: [self class]];
				}

				range = [line rangeOfString: @";"];
				if (range.start != OF_INVALID_INDEX)
				if (range.location != OF_INVALID_INDEX)
					line = [line substringWithRange:
					    of_range(0, range.start)];
					    of_range(0, range.location)];

				@try {
					toRead =
					    (size_t)[line hexadecimalValue];
				} @catch (OFInvalidFormatException *e) {
					@throw [OFInvalidServerReplyException
					    exceptionWithClass: [self class]];