Changeset 331 for EcnlProtoTool/trunk/ntshell/webserver/http_parser.c
- Timestamp:
- Jan 21, 2018, 12:10:09 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/ntshell/webserver/http_parser.c
r321 r331 29 29 #include <string.h> 30 30 #include <limits.h> 31 #include "core/ntlibc.h" 31 32 32 33 #ifndef ULLONG_MAX … … 2371 2372 if (u->field_set & (1 << UF_PORT)) { 2372 2373 /* Don't bother with endp; we've already validated the string */ 2373 unsigned long v = strtoul(buf + u->field_data[UF_PORT].off, NULL, 10);2374 unsigned long v = ntlibc_strtoul(buf + u->field_data[UF_PORT].off, NULL, 10); 2374 2375 2375 2376 /* Ports have a max value of 2^16 */
Note:
See TracChangeset
for help on using the changeset viewer.