[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] and now we actually do it, too.
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:
and now we actually do it, too.
Index: control.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/control.c,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -d -r1.149 -r1.150
--- control.c 17 Nov 2005 21:45:38 -0000 1.149
+++ control.c 17 Nov 2005 22:01:46 -0000 1.150
@@ -712,26 +712,26 @@
switch (r) {
case -1:
v0_err = ERR_UNRECOGNIZED_CONFIG_KEY;
- msg = "Unrecognized option";
+ msg = "552 Unrecognized option";
break;
case -2:
v0_err = ERR_INVALID_CONFIG_VALUE;
- msg = "Unrecognized option value";
+ msg = "513 Unrecognized option value";
break;
case -3:
v0_err = ERR_INVALID_CONFIG_VALUE;
- msg = "Transition not allowed";
+ msg = "553 Transition not allowed";
break;
case -4:
default:
v0_err = ERR_INVALID_CONFIG_VALUE;
- msg = "Unable to set option";
+ msg = "553 Unable to set option";
break;
}
if (v0) {
send_control0_error(conn, v0_err, msg);
} else {
- connection_printf_to_buf(conn, "552 %s\r\n", msg);
+ connection_printf_to_buf(conn, "%s\r\n", msg);
}
config_free_lines(lines);
return 0;