diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-08 18:53:57 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-08 18:53:57 +0000 |
commit | b43a720bd41259dcea98b110f771fab99aad5159 (patch) | |
tree | 52df88683584a1a2550eb88e2206547f6e73efaf /src/or/routerparse.c | |
parent | 1e2f1679c8e2ba9bad14e6070bd6b06e161813de (diff) | |
download | tor-b43a720bd41259dcea98b110f771fab99aad5159.tar tor-b43a720bd41259dcea98b110f771fab99aad5159.tar.gz |
Fix another reversed inet_aton
svn:r4937
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 78dfe2bf3..4209930e0 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -1301,7 +1301,7 @@ networkstatus_parse_from_string(const char *s) goto err; } ns->source_address = tok->args[0]; tok->args[0] = NULL; - if (tor_inet_aton(tok->args[1], &in) != 0) { + if (tor_inet_aton(tok->args[1], &in) == 0) { log_fn(LOG_WARN, "Error parsing address '%s'", tok->args[1]); goto err; } |