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

[or-cvs] petty cleanups



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

Modified Files:
	main.c router.c 
Log Message:
petty cleanups


Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.642
retrieving revision 1.643
diff -u -p -d -r1.642 -r1.643
--- main.c	16 Apr 2006 22:34:00 -0000	1.642
+++ main.c	25 Apr 2006 07:00:04 -0000	1.643
@@ -1316,7 +1316,7 @@ dumpstats(int severity)
         (int)(now - conn->timestamp_created));
     if (!connection_is_listener(conn)) {
       log(severity,LD_GENERAL,
-          "Conn %d is to '%s:%d'.", i,
+          "Conn %d is to %s:%d.", i,
           safe_str(conn->address), conn->port);
       log(severity,LD_GENERAL,
           "Conn %d: %d bytes waiting on inbuf (len %d, last read %d secs ago)",

Index: router.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.261
retrieving revision 1.262
diff -u -p -d -r1.261 -r1.262
--- router.c	23 Apr 2006 23:09:03 -0000	1.261
+++ router.c	25 Apr 2006 07:00:04 -0000	1.262
@@ -760,10 +760,9 @@ router_get_my_routerinfo(void)
   if (!server_mode(get_options()))
     return NULL;
 
-  if (!desc_routerinfo || !desc_clean_since) {
+  if (!desc_routerinfo || !desc_clean_since)
     if (router_rebuild_descriptor(!desc_routerinfo))
       return NULL;
-  }
   return desc_routerinfo;
 }