diff options
author | Robert Ransom <rransom.8774@gmail.com> | 2011-06-05 05:43:27 -0700 |
---|---|---|
committer | Robert Ransom <rransom.8774@gmail.com> | 2011-06-05 05:43:27 -0700 |
commit | 8a69cc04683c7e3cfe45150591a47ee7933dce05 (patch) | |
tree | 668f445f1b2c95c0d895a0c550fe4e670a08a7a6 /src | |
parent | bc607bee3fc5ae8de0e08d99eaa69180e3184c60 (diff) | |
download | tor-8a69cc04683c7e3cfe45150591a47ee7933dce05.tar tor-8a69cc04683c7e3cfe45150591a47ee7933dce05.tar.gz |
Report SIGNAL event to controllers when acting on delayed NEWNYM
Fixes bug 3349.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index bb56be7c9..28a98ac4b 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1030,6 +1030,8 @@ signewnym_impl(time_t now) rend_client_purge_state(); time_of_last_signewnym = now; signewnym_is_pending = 0; + + control_event_signal(SIGNEWNYM); } /** Perform regular maintenance tasks. This function gets run once per @@ -1887,7 +1889,6 @@ process_signal(uintptr_t sig) (int)(MAX_SIGNEWNYM_RATE+time_of_last_signewnym-now)); } else { signewnym_impl(now); - control_event_signal(sig); } break; } |