aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-11-17 22:01:46 +0000
committerRoger Dingledine <arma@torproject.org>2005-11-17 22:01:46 +0000
commitd2b93df26cc217829c3f475893ff5a8ed266fafd (patch)
treedc21387dde780db622a54e1e5e47087f989f3d57 /src/or
parent396577d17e3124e30b39d84de883165d07582c8a (diff)
downloadtor-d2b93df26cc217829c3f475893ff5a8ed266fafd.tar
tor-d2b93df26cc217829c3f475893ff5a8ed266fafd.tar.gz
and now we actually do it, too.
svn:r5414
Diffstat (limited to 'src/or')
-rw-r--r--src/or/control.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 8efb3cc69..8fb77b4dd 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -712,26 +712,26 @@ control_setconf_helper(connection_t *conn, uint32_t len, char *body,
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;