[or-cvs] Fix postdescriptor behavior: on non-complete success, only ...

Nick Mathewson nickm at seul.org
Mon Apr 11 02:52:11 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv14377/src/or

Modified Files:
	control.c 
Log Message:
Fix postdescriptor behavior: on non-complete success, only say "done" once.

Index: control.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/control.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- control.c	8 Apr 2005 03:36:39 -0000	1.76
+++ control.c	11 Apr 2005 02:52:09 -0000	1.77
@@ -834,10 +834,9 @@
     break;
   case 1:
     send_control_done(conn);
-    return 0;
+    break;
   }
 
-  send_control_done(conn);
   return 0;
 }
 static int



More information about the tor-commits mailing list