From 4a66f5a8962921a798fc06da64c26c8cbf21d015 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 19 Jan 2006 02:21:24 +0000 Subject: when the controller asks for a signal we don't recognize, don't include the whitespace/newline/etc in our complaint. svn:r5841 --- src/or/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/control.c') diff --git a/src/or/control.c b/src/or/control.c index 72822dbf20..3cbf09414a 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -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); -- cgit v1.2.3-54-g00ecf