[or-cvs] when rejecting an old-style router descriptor, tell us its ...

Roger Dingledine arma at seul.org
Tue Nov 9 06:38:00 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	routerparse.c 
Log Message:
when rejecting an old-style router descriptor, tell us its nickname


Index: routerparse.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerparse.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- routerparse.c	7 Nov 2004 01:33:06 -0000	1.72
+++ routerparse.c	9 Nov 2004 06:37:58 -0000	1.73
@@ -834,7 +834,7 @@
   } else if (tok) {
     if (tok->n_args < 3) {
       /* XXXX Once 0.0.7 is *really* dead, restore this warning to its old form*/
-      log_fn(LOG_WARN,"Not enough arguments to \"bandwidth\": must be an obsolete server. Rejecting.");
+      log_fn(LOG_WARN,"Not enough arguments to \"bandwidth\": must be an obsolete server. Rejecting (nickname %s).", router->nickname);
       goto err;
     }
     router->bandwidthrate = tor_parse_long(tok->args[0],10,0,INT_MAX,NULL,NULL);



More information about the tor-commits mailing list