summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-01-19 02:21:24 +0000
committerRoger Dingledine <arma@torproject.org>2006-01-19 02:21:24 +0000
commit4a66f5a8962921a798fc06da64c26c8cbf21d015 (patch)
tree6cd2b21770bb38194fd7762b400a088065d11df3 /src/or/control.c
parent241310bbac2225eb7307a50f153cc55d23ea7fa7 (diff)
downloadtor-4a66f5a8962921a798fc06da64c26c8cbf21d015.tar.gz
tor-4a66f5a8962921a798fc06da64c26c8cbf21d015.zip
when the controller asks for a signal we don't recognize, don't
include the whitespace/newline/etc in our complaint. svn:r5841
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 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);