commit 9b0d3719ae3d1e9416cffcce1267fdacfcf765e9 Author: Sebastian Hahn sebastian@torproject.org Date: Wed Jul 20 19:42:11 2011 +0200
Don't assert for listener connections --- src/or/connection.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/or/connection.c b/src/or/connection.c index d2ee1ae..c4b320e 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;