Commit 076f1209 authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

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


svn:r2882
parent ee591be3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);
  }
  return 0;
}