mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Patch to patch: do not send both error and done for one command.
svn:r2882
This commit is contained in:
parent
ee591be3f2
commit
076f120951
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user