[or-cvs] Write status to disk in the right place

Nick Mathewson nickm at seul.org
Thu Sep 8 19:16:18 UTC 2005


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

Modified Files:
	routerlist.c 
Log Message:
Write status to disk in the right place

Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.273
retrieving revision 1.274
diff -u -d -r1.273 -r1.274
--- routerlist.c	8 Sep 2005 18:46:25 -0000	1.273
+++ routerlist.c	8 Sep 2005 19:16:16 -0000	1.274
@@ -1265,7 +1265,7 @@
     char fp[HEX_DIGEST_LEN+1];
     size_t len = strlen(datadir)+64;
     char *fn = tor_malloc(len+1);
-    tor_snprintf(fn, len, "%s/cached-directory/%s",datadir,fp);
+    tor_snprintf(fn, len, "%s/cached-status/%s",datadir,fp);
     if (write_str_to_file(fn, s, 0)<0) {
       log_fn(LOG_NOTICE, "Couldn't write cached network status to \"%s\"", fn);
     }



More information about the tor-commits mailing list