aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c3
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;
}