summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-06-17 08:15:42 +0000
committerRoger Dingledine <arma@torproject.org>2008-06-17 08:15:42 +0000
commit1ad83d74b1a52828eefb7b871644d5550fd7c531 (patch)
tree956f511fe1935df3f257bd915c56dfd5da1b574e /src/or/main.c
parentc19392469de2431974da5d5fc87f919772cc3b4c (diff)
downloadtor-1ad83d74b1a52828eefb7b871644d5550fd7c531.tar.gz
tor-1ad83d74b1a52828eefb7b871644d5550fd7c531.zip
Send an initial "Starting" bootstrap status event, so we have a
state to start out in. svn:r15326
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 55ab39cca6..f2457c4205 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1407,6 +1407,9 @@ do_main_loop(void)
stats_prev_global_read_bucket = global_read_bucket;
stats_prev_global_write_bucket = global_write_bucket;
+ /* initialize the bootstrap status events to know we're starting up */
+ control_event_bootstrap(BOOTSTRAP_STATUS_STARTING, 0);
+
if (trusted_dirs_reload_certs())
return -1;
if (router_reload_v2_networkstatus()) {