From 9b0d3719ae3d1e9416cffcce1267fdacfcf765e9 Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Wed, 20 Jul 2011 19:42:11 +0200 Subject: Don't assert for listener connections --- src/or/connection.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/or/connection.c b/src/or/connection.c index d2ee1ae73..c4b320ed4 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -3939,6 +3939,9 @@ assert_connection_ok(connection_t *conn, time_t now) case CONN_TYPE_CONTROL: tor_assert(conn->magic == CONTROL_CONNECTION_MAGIC); break; + CASE_ANY_LISTENER_TYPE: + tor_assert(conn->magic == LISTENER_CONNECTION_MAGIC); + break; default: tor_assert(conn->magic == BASE_CONNECTION_MAGIC); break; -- cgit v1.2.3