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
This commit is contained in:
Roger Dingledine
2006-07-06 02:44:07 +00:00
parent 3c4205c872
commit fad85f173a
8 changed files with 33 additions and 29 deletions
+1 -1
View File
@@ -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;
}