[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] when an exit node gets a malformed begin cell, don"t compla...



Update of /home2/or/cvsroot/tor/src/tools
In directory moria:/home/arma/work/onion/cvs/tor/src/tools

Modified Files:
	tor-resolve.c 
Log Message:
when an exit node gets a malformed begin cell, don't complain to
the node operator, since he can't do anything about it.


Index: tor-resolve.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/tools/tor-resolve.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -p -d -r1.24 -r1.25
--- tor-resolve.c	13 Feb 2006 10:36:39 -0000	1.24
+++ tor-resolve.c	6 Jul 2006 02:44:07 -0000	1.25
@@ -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;
     }