[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [obfsproxy/master] Oops; that return shouldn't be there.



commit 3fb0f0ee7009cdfa8a6f9408695c8b3dacb25a31
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Thu Jul 14 12:11:42 2011 -0400

    Oops; that return shouldn't be there.
---
 src/network.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/network.c b/src/network.c
index b76ac8e..6d1d211 100644
--- a/src/network.c
+++ b/src/network.c
@@ -92,8 +92,6 @@ close_all_connections(void)
   while (conn_list.head) {
     conn_t *conn = UPCAST(conn_t, dll_node, conn_list.head);
     conn_free(conn); /* removes it */
-
-    return; /* connections are now all closed. */
   }
   assert(!n_connections);
 }

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits