summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-02-20 01:24:26 +0000
committerRoger Dingledine <arma@torproject.org>2006-02-20 01:24:26 +0000
commit16f265fa0d6fe2a3b891113e7045009b45e533c7 (patch)
treedb1c4e0af298201c6b425c7f9ffe03b821c3e674
parent498c13b4df142d7dc48eb373166f8c01cf09f56d (diff)
downloadtor-16f265fa0d6fe2a3b891113e7045009b45e533c7.tar.gz
tor-16f265fa0d6fe2a3b891113e7045009b45e533c7.zip
when saveconf fails in controller v1, we were returning a malformed
error string. svn:r6053
-rw-r--r--src/or/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 392a1061dc..a843b98152 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1076,8 +1076,8 @@ handle_control_saveconf(connection_t *conn, uint32_t len,
send_control0_error(conn, ERR_INTERNAL,
"Unable to write configuration to disk.");
else
- connection_write_str_to_buf("551 Unable to write configuration to disk.",
- conn);
+ connection_write_str_to_buf(
+ "551 Unable to write configuration to disk.\r\n", conn);
} else {
send_control_done(conn);
}