summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
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));