[or-cvs] fix bad logic that has been lurking for eons, that now prev...

arma at seul.org arma at seul.org
Tue Aug 23 00:47:46 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	router.c 
Log Message:
fix bad logic that has been lurking for eons, that now prevented us
from uploading descriptors after the first one.


Index: router.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -d -r1.188 -r1.189
--- router.c	22 Aug 2005 21:53:12 -0000	1.188
+++ router.c	23 Aug 2005 00:47:44 -0000	1.189
@@ -633,7 +633,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