[or-cvs] backport the fix: we were only allowing ourselves to upload...

arma at seul.org arma at seul.org
Tue Aug 23 00:52:27 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/tor-010x/tor/src/or

Modified Files:
      Tag: tor-0_1_0-patches
	router.c 
Log Message:
backport the fix: we were only allowing ourselves to upload a descriptor
at most every 20 minutes.


Index: router.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.176.2.4
retrieving revision 1.176.2.5
diff -u -d -r1.176.2.4 -r1.176.2.5
--- router.c	15 Jul 2005 18:58:58 -0000	1.176.2.4
+++ router.c	23 Aug 2005 00:52:24 -0000	1.176.2.5
@@ -573,7 +573,7 @@
     log_fn(LOG_WARN, "No descriptor; skipping upload");
     return;
   }
-  if (!force || !desc_needs_upload)
+  if (!force && !desc_needs_upload)
     return;
   desc_needs_upload = 0;
   directory_post_to_dirservers(DIR_PURPOSE_UPLOAD_DIR, s, strlen(s));



More information about the tor-commits mailing list