mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
when the controller asks for a signal we don't recognize, don't
include the whitespace/newline/etc in our complaint. svn:r5841
This commit is contained in:
parent
241310bbac
commit
4a66f5a896
@ -1116,7 +1116,7 @@ handle_control_signal(connection_t *conn, uint32_t len,
|
||||
sig = SIGTERM;
|
||||
else {
|
||||
connection_printf_to_buf(conn, "552 Unrecognized signal code \"%s\"\r\n",
|
||||
body);
|
||||
s);
|
||||
sig = -1;
|
||||
}
|
||||
tor_free(s);
|
||||
|
Loading…
Reference in New Issue
Block a user