aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-08-12 11:25:00 -0400
committerNick Mathewson <nickm@torproject.org>2015-08-12 11:25:00 -0400
commitf4f0b4326891e2e5907ff252c704c7f19bbfaf0d (patch)
tree1eafed0ecc3c9d49058c338450ce2562341498ef /src/or/control.c
parent23fb084cb2d7d20d906106b2eb7676f455f333e1 (diff)
downloadtor-f4f0b4326891e2e5907ff252c704c7f19bbfaf0d.tar.gz
tor-f4f0b4326891e2e5907ff252c704c7f19bbfaf0d.zip
Try to decouple process_signal() from anything not event-driven
This needs debugging; it currently breaks the stem tests.
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 56f179c394..a0004c3dbe 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1325,7 +1325,7 @@ handle_control_signal(control_connection_t *conn, uint32_t len,
if (sig == SIGTERM || sig == SIGINT)
connection_flush(TO_CONN(conn));
- process_signal(sig);
+ activate_signal(sig);
return 0;
}