Differences From Artifact [f132e311be]:
- File
src/OFHTTPClient.m
— part of check-in
[6e42ee482f]
at
2020-10-10 10:58:30
on branch trunk
— Make HTTP status code consistently a short
It used to be a short in some places and an int in other places. (user: js, size: 30374) [annotate] [blame] [check-ins using]
To Artifact [723a0ca5c9]:
- File src/OFHTTPClient.m — part of check-in [d0ae3bfd6c] at 2020-10-25 23:33:09 on branch trunk — Add of_{malloc,calloc,realloc,free} (user: js, size: 30283) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
506 507 508 509 510 511 512 | } lineC = line.UTF8String; if ((tmp = strchr(lineC, ':')) == NULL) @throw [OFInvalidServerReplyException exception]; | | < < < | | 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 | } lineC = line.UTF8String; if ((tmp = strchr(lineC, ':')) == NULL) @throw [OFInvalidServerReplyException exception]; keyC = of_malloc(1, tmp - lineC + 1); memcpy(keyC, lineC, tmp - lineC); keyC[tmp - lineC] = '\0'; normalizeKey(keyC); @try { key = [OFString stringWithUTF8StringNoCopy: keyC freeWhenDone: true]; } @catch (id e) { of_free(keyC); @throw e; } do { tmp++; } while (*tmp == ' '); |
︙ | ︙ |