aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;