diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-15 04:02:59 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-15 04:02:59 +0000 |
commit | 076f1209515a027f1d377d06060455a69bb41f0f (patch) | |
tree | 374ee2d78115cd64762f99c6933719648dd3ccdf | |
parent | ee591be3f2743d31f1ac5c7d2de74adb773fbec9 (diff) | |
download | tor-076f1209515a027f1d377d06060455a69bb41f0f.tar.gz tor-076f1209515a027f1d377d06060455a69bb41f0f.zip |
Patch to patch: do not send both error and done for one command.
svn:r2882
-rw-r--r-- | src/or/control.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c index 8e0c1aeb62..a25e0806d0 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -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; } |