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 c2179e48e2
commit 9f758c515c
+2 -1
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;
}