mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
when saveconf fails in controller v1, we were returning a malformed
error string. svn:r6053
This commit is contained in:
parent
498c13b4df
commit
16f265fa0d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user