[tor-commits] [obfsproxy/master] Oops; that return shouldn't be there.
nickm at torproject.org
nickm at torproject.org
Thu Jul 14 16:11:20 UTC 2011
commit 3fb0f0ee7009cdfa8a6f9408695c8b3dacb25a31
Author: Nick Mathewson <nickm at torproject.org>
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);
}
More information about the tor-commits
mailing list