[or-cvs] Set a variable that exists. That works better.

Nick Mathewson nickm at seul.org
Fri Aug 26 22:16:11 UTC 2005


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

Modified Files:
	dirserv.c 
Log Message:
Set a variable that exists.  That works better.

Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.195
retrieving revision 1.196
diff -u -d -r1.195 -r1.196
--- dirserv.c	26 Aug 2005 22:08:24 -0000	1.195
+++ dirserv.c	26 Aug 2005 22:16:09 -0000	1.196
@@ -22,7 +22,7 @@
 /** Do we need to regenerate the directory when someone asks for it? */
 static int the_directory_is_dirty = 1;
 static int runningrouters_is_dirty = 1;
-static int networkstatus_v2_is_dirty = 1;
+static int the_v2_networkstatus_is_dirty = 1;
 
 static void directory_remove_invalid(void);
 static int dirserv_regenerate_directory(void);
@@ -1192,7 +1192,7 @@
     if (get_options()->AuthoritativeDir) {
       return dirserv_get_obj(directory, compress, NULL,
                              &the_v2_networkstatus,
-                             networkstatus_v2_is_dirty,
+                             the_v2_networkstatus_is_dirty,
                              generate_v2_networkstatus,
                              "network status list");
     }



More information about the tor-commits mailing list