diff options
author | Roger Dingledine <arma@torproject.org> | 2008-06-17 08:15:42 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-06-17 08:15:42 +0000 |
commit | 1ad83d74b1a52828eefb7b871644d5550fd7c531 (patch) | |
tree | 956f511fe1935df3f257bd915c56dfd5da1b574e /src/or/main.c | |
parent | c19392469de2431974da5d5fc87f919772cc3b4c (diff) | |
download | tor-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.c | 3 |
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()) { |