[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] No need to load cached directory twice
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv1814/src/or
Modified Files:
router.c
Log Message:
No need to load cached directory twice
Index: router.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -d -r1.196 -r1.197
--- router.c 26 Aug 2005 19:31:51 -0000 1.196
+++ router.c 26 Aug 2005 21:19:58 -0000 1.197
@@ -370,6 +370,7 @@
if (!router_digest_is_trusted_dir(digest)) {
add_trusted_dir_server(NULL, (uint16_t)options->DirPort, digest);
}
+#if 0
/* 7. [authdirserver only] load old directory, if it's there */
tor_snprintf(keydir,sizeof(keydir),"%s/cached-directory", datadir);
log_fn(LOG_INFO,"Loading cached directory from \"%s\"...",keydir);
@@ -384,6 +385,7 @@
}
tor_free(cp);
}
+#endif
/* success */
return 0;
}