[or-cvs] Whitespace fixes; comments.

Nick Mathewson nickm at seul.org
Thu Dec 15 21:17:43 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv24756/src/or

Modified Files:
	dirserv.c or.h routerlist.c routerparse.c 
Log Message:
Whitespace fixes; comments.

Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.279
retrieving revision 1.280
diff -u -d -r1.279 -r1.280
--- dirserv.c	14 Dec 2005 20:40:40 -0000	1.279
+++ dirserv.c	15 Dec 2005 21:17:40 -0000	1.280
@@ -1316,6 +1316,8 @@
                                       ri->cache_info.identity_digest);
       int f_named = naming && ri->is_named;
       int f_valid = ri->is_verified;
+      /* 0.1.1.9-alpha is the first version to support fetch by descriptor
+       * hash. */
       int f_v2_dir = ri->dir_port &&
         tor_version_as_new_as(ri->platform,"0.1.1.9-alpha");
       char identity64[BASE64_DIGEST_LEN+1];

Index: or.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/or.h,v
retrieving revision 1.759
retrieving revision 1.760
diff -u -d -r1.759 -r1.760
--- or.h	15 Dec 2005 20:49:01 -0000	1.759
+++ or.h	15 Dec 2005 21:17:40 -0000	1.760
@@ -2192,7 +2192,7 @@
   unsigned int is_running:1; /**< True iff we think this server is running. */
   /** True iff this server is an authority for the older ("v1") directory
    * protocol.  (All authorities are v2 authorities.) */
-  unsigned int is_v1_authority:1; 
+  unsigned int is_v1_authority:1;
   int n_networkstatus_failures; /**< How many times have we asked for this
                                  * server's network-status unsuccessfully? */
   routerstatus_t fake_status; /**< Used when we need to pass this trusted

Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.395
retrieving revision 1.396
diff -u -d -r1.395 -r1.396
--- routerlist.c	15 Dec 2005 20:56:46 -0000	1.395
+++ routerlist.c	15 Dec 2005 21:17:40 -0000	1.396
@@ -3339,7 +3339,7 @@
         "We now have enough directory information to build circuits.");
   }
   if (!res && have_enough) {
-    log(LOG_NOTICE, LD_DIR, "Our directory information is no longer up-to-date "
+    log(LOG_NOTICE, LD_DIR,"Our directory information is no longer up-to-date "
         "enough to build circuits.");
   }
   have_enough = res;

Index: routerparse.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerparse.c,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -d -r1.165 -r1.166
--- routerparse.c	15 Dec 2005 20:58:51 -0000	1.165
+++ routerparse.c	15 Dec 2005 21:17:40 -0000	1.166
@@ -777,7 +777,8 @@
     goto err;
   } else {
     if (tok->n_args < 3) {
-      warn(LD_DIR,"Not enough arguments to \"bandwidth\" in server descriptor.");
+      warn(LD_DIR,
+           "Not enough arguments to \"bandwidth\" in server descriptor.");
       goto err;
     }
     router->bandwidthrate =



More information about the tor-commits mailing list