summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-08-23 00:47:44 +0000
committerRoger Dingledine <arma@torproject.org>2005-08-23 00:47:44 +0000
commit8b766d1b7e66dfc3e87141f161ba0aba9ae3f9dc (patch)
tree46db877f42a5b36539109526e8813e428b8b47fd /src/or/router.c
parentab112ca6ad3fe03e67c007220665d29904944c90 (diff)
downloadtor-8b766d1b7e66dfc3e87141f161ba0aba9ae3f9dc.tar.gz
tor-8b766d1b7e66dfc3e87141f161ba0aba9ae3f9dc.zip
fix bad logic that has been lurking for eons, that now prevented us
from uploading descriptors after the first one. svn:r4818
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index b59acb5efa..9bb4716b4a 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -633,7 +633,7 @@ router_upload_dir_desc_to_dirservers(int force)
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));