From b30c3843844d120a5cb563bea92886140251d15c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 9 Apr 2020 23:12:03 +0300 Subject: [PATCH] login-proxy: Remove client->refcount > 1 assert There doesn't seem to be any point in having this assert. Nothing seems to require that it's over 1. --- src/login-common/client-common-auth.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/login-common/client-common-auth.c b/src/login-common/client-common-auth.c index 75deabda5c..eb3b6749a6 100644 --- a/src/login-common/client-common-auth.c +++ b/src/login-common/client-common-auth.c @@ -420,8 +420,6 @@ static int proxy_start(struct client *client, sasl_mech = &dsasl_client_mech_plain; } - i_assert(client->refcount > 1); - if (login_proxy_is_ourself(client, reply->host, reply->port, reply->destuser)) { e_error(client->event, "Proxying loops to itself"); -- 2.47.3