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:
Roger Dingledine 2006-01-19 02:21:24 +00:00
parent 241310bbac
commit 4a66f5a896

View File

@ -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);