diff options
author | Roger Dingledine <arma@torproject.org> | 2006-07-06 02:44:07 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-07-06 02:44:07 +0000 |
commit | fad85f173a6a271af5ebbebffb778426febbce61 (patch) | |
tree | b0063651a95606839d164d8dbfbc47936f179114 /src/tools/tor-resolve.c | |
parent | 3c4205c8724f6eb01dedc1ff6bbdd7f756320a4d (diff) | |
download | tor-fad85f173a6a271af5ebbebffb778426febbce61.tar.gz tor-fad85f173a6a271af5ebbebffb778426febbce61.zip |
when an exit node gets a malformed begin cell, don't complain to
the node operator, since he can't do anything about it.
svn:r6733
Diffstat (limited to 'src/tools/tor-resolve.c')
-rw-r--r-- | src/tools/tor-resolve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c index 052526698e..6e1b59ecfd 100644 --- a/src/tools/tor-resolve.c +++ b/src/tools/tor-resolve.c @@ -217,7 +217,7 @@ main(int argc, char **argv) sockshost = 0x7f000001u; /* localhost */ socksport = 9050; /* 9050 */ } else if (n_args == 2) { - if (parse_addr_port(arg[1], NULL, &sockshost, &socksport)<0) { + if (parse_addr_port(LOG_WARN, arg[1], NULL, &sockshost, &socksport)<0) { fprintf(stderr, "Couldn't parse/resolve address %s", arg[1]); return 1; } |