diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-25 21:39:42 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-25 21:39:42 +0000 |
commit | 5c670a186c1f45a2ddfcab00c065f994d8a888f7 (patch) | |
tree | d562ce3be020fb2657d5b84a4ea5257c42b64e7f /src/or/main.c | |
parent | c928b85cfa17c6f03aeeaa10fd284b0cc15bcf93 (diff) | |
download | tor-5c670a186c1f45a2ddfcab00c065f994d8a888f7.tar tor-5c670a186c1f45a2ddfcab00c065f994d8a888f7.tar.gz |
r9386@Kushana: nickm | 2006-10-25 17:35:38 -0400
Resolve bug 347: translate v0 controller signal numbers into internal signal numbers; leave v1 signal numbers alone.
svn:r8828
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/or/main.c b/src/or/main.c index 30d5fcc58..0dafa5405 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1229,24 +1229,6 @@ do_main_loop(void) } } -/* DOCDOC */ -int -control_signal_check(int the_signal) -{ - switch (the_signal) - { - case 1: - case 2: - case 10: - case 12: - case 15: - case SIGNEWNYM: - return 1; - default: - return 0; - } -} - /** Used to implement the SIGNAL control command: if we accept * <b>the_signal</b> as a remote pseudo-signal, act on it. */ /* We don't re-use catch() here because: |