Overview
Comment: | Get rid of a warning on 32-bit systems with Clang. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
90de201b43f25d54c4fb062ac0723ca1 |
User & Date: | js on 2013-09-29 19:44:03 |
Other Links: | manifest | tags |
Context
2013-09-29
| ||
20:24 | Add simple non-colored output to tests. check-in: 1b6f73dc3a user: js tags: trunk | |
19:44 | Get rid of a warning on 32-bit systems with Clang. check-in: 90de201b43 user: js tags: trunk | |
16:26 | Remove an _Unwind_DeleteException call. check-in: 6dcd43ed6c user: js tags: trunk | |
Changes
Modified src/OFHTTPServer.m from [9bf4d2786d] to [5da55a3a8f].
︙ | ︙ | |||
441 442 443 444 445 446 447 | OFString *key, *value; size_t pos; if ([line length] == 0) { size_t contentLength; @try { | | | 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 | OFString *key, *value; size_t pos; if ([line length] == 0) { size_t contentLength; @try { contentLength = (size_t)[[_headers objectForKey: @"Content-Length"] decimalValue]; } @catch (OFInvalidFormatException *e) { return [self sendErrorAndClose: 400]; } if (contentLength > 0) { char *buffer; |
︙ | ︙ |