[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Patch to patch: do not send both error and done for one com...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] Patch to patch: do not send both error and done for one com...
- From: nickm@seul.org (Nick Mathewson)
- Date: Sun, 14 Nov 2004 23:03:01 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Sun, 14 Nov 2004 23:03:39 -0500
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv11175/src/or
Modified Files:
control.c
Log Message:
Patch to patch: do not send both error and done for one command.
Index: control.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/control.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- control.c 15 Nov 2004 03:53:03 -0000 1.26
+++ control.c 15 Nov 2004 04:02:59 -0000 1.27
@@ -375,8 +375,9 @@
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;
}