aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-07-20 12:58:26 -0400
committerNick Mathewson <nickm@torproject.org>2011-07-20 12:58:26 -0400
commitda83da91993f0b939ed80c2f8353b0db50589f8e (patch)
tree7eb84de05251e111c3ba15525f5503a09bb6cee1
parent0118d98b1342b5e135b5a25f2809af627b8602f9 (diff)
downloadtor-da83da91993f0b939ed80c2f8353b0db50589f8e.tar.gz
tor-da83da91993f0b939ed80c2f8353b0db50589f8e.zip
Add a missing break in a switch statement
-rw-r--r--src/or/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 3950f90152..38859a9010 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;