Patch to patch: do not send both error and done for one command.

svn:r2882
This commit is contained in:
Nick Mathewson 2004-11-15 04:02:59 +00:00
parent ee591be3f2
commit 076f120951

View File

@ -375,8 +375,9 @@ handle_control_saveconf(connection_t *conn, uint16_t len,
if (save_current_config()<0) {
send_control_error(conn, ERR_INTERNAL,
"Unable to write configuration to disk.");
} else {
send_control_done(conn);
}
send_control_done(conn);
return 0;
}