mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 22:47:12 +01:00
r11701@Kushana: nickm | 2006-12-24 01:24:39 -0500
fix warning on win32. svn:r9184
This commit is contained in:
parent
28c2bd905e
commit
c12a1f1e3a
1 changed files with 1 additions and 1 deletions
|
@ -3362,7 +3362,7 @@ parse_dir_server_line(const char *line, int validate_only)
|
|||
} else if (!strcasecmpstart(flag, "orport=")) {
|
||||
int ok;
|
||||
flag += strlen("orport=");
|
||||
or_port = tor_parse_long(flag, 10, 1, 65535, &ok, NULL);
|
||||
or_port = (uint16_t) tor_parse_long(flag, 10, 1, 65535, &ok, NULL);
|
||||
if (!ok)
|
||||
log_warn(LD_CONFIG, "Invalid orport '%s' on DirServer line.", flag);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue