[or-cvs] Patch to patch: do not send both error and done for one com...
Nick Mathewson
nickm at seul.org
Mon Nov 15 04:03:01 UTC 2004
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;
}
More information about the tor-commits
mailing list