]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add a missing break in a switch statement
authorNick Mathewson <nickm@torproject.org>
Wed, 20 Jul 2011 16:58:26 +0000 (12:58 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 20 Jul 2011 16:58:26 +0000 (12:58 -0400)
src/or/connection.c

index 3950f901525cc377a6b88449753bdbe1f4700d7d..38859a9010dba3faf8d9dd891ea158a25b9f2df9 100644 (file)
@@ -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;