[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] fix bad logic that has been lurking for eons, that now prev...
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));