[tor-commits] [tor/master] Add a missing break in a switch statement
nickm at torproject.org
nickm at torproject.org
Wed Jul 20 16:58:04 UTC 2011
commit da83da91993f0b939ed80c2f8353b0db50589f8e
Author: Nick Mathewson <nickm at torproject.org>
Date: Wed Jul 20 12:58:26 2011 -0400
Add a missing break in a switch statement
---
src/or/connection.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/or/connection.c b/src/or/connection.c
index 3950f90..38859a9 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -345,6 +345,7 @@ connection_init(time_t now, connection_t *conn, int type, int socket_family)
break;
CASE_ANY_LISTENER_TYPE:
conn->magic = LISTENER_CONNECTION_MAGIC;
+ break;
default:
conn->magic = BASE_CONNECTION_MAGIC;
break;
More information about the tor-commits
mailing list