summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2012-11-12 23:49:37 -0500
committerRoger Dingledine <arma@torproject.org>2012-11-12 23:49:37 -0500
commita90affa84b3597667fd5dc8d9ff761a462653750 (patch)
treed461e9e81dda47c14e839b559b435026e6a03ad7 /src/or/main.c
parentf473d83deaf893c6efe49094cfc5d9b435e7fcb9 (diff)
parent88bb48e785609afeab6b63677f789036e25b34cf (diff)
downloadtor-a90affa84b3597667fd5dc8d9ff761a462653750.tar.gz
tor-a90affa84b3597667fd5dc8d9ff761a462653750.zip
Merge branch 'maint-0.2.3'
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 0ba28db05e..fd8f9413de 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1218,7 +1218,7 @@ run_scheduled_events(time_t now)
if (router_rebuild_descriptor(1)<0) {
log_info(LD_CONFIG, "Couldn't rebuild router descriptor");
}
- if (advertised_server_mode() & !options->DisableNetwork)
+ if (advertised_server_mode() && !options->DisableNetwork)
router_upload_dir_desc_to_dirservers(0);
}