[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] when the controller asks for a signal we don"t recognize, d...
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
control.c
Log Message:
when the controller asks for a signal we don't recognize, don't
include the whitespace/newline/etc in our complaint.
Index: control.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/control.c,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -p -d -r1.165 -r1.166
--- control.c 12 Jan 2006 18:04:17 -0000 1.165
+++ control.c 19 Jan 2006 02:21:24 -0000 1.166
@@ -1116,7 +1116,7 @@ handle_control_signal(connection_t *conn
sig = SIGTERM;
else {
connection_printf_to_buf(conn, "552 Unrecognized signal code \"%s\"\r\n",
- body);
+ s);
sig = -1;
}
tor_free(s);