Changeset 442 for EcnlProtoTool/trunk/ntshell/webserver/http_parser.c
- Timestamp:
- Jul 13, 2020, 8:07:55 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/ntshell/webserver/http_parser.c
r331 r442 2372 2372 if (u->field_set & (1 << UF_PORT)) { 2373 2373 /* Don't bother with endp; we've already validated the string */ 2374 unsigned long v = ntlibc_strtoul(buf + u->field_data[UF_PORT].off, NULL, 10);2374 unsigned long v = strtoul(buf + u->field_data[UF_PORT].off, NULL, 10); 2375 2375 2376 2376 /* Ports have a max value of 2^16 */
Note:
See TracChangeset
for help on using the changeset viewer.