From: Vsevolod Stakhov Date: Mon, 18 Mar 2019 17:49:38 +0000 (+0000) Subject: [Minor] Another 'oops' X-Git-Tag: 1.9.1~91 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e2ff03403bc58f032a8081a81e22c78fd7e1f250;p=rspamd.git [Minor] Another 'oops' --- diff --git a/src/libutil/http_connection.c b/src/libutil/http_connection.c index 72cc1d239..a0623dca9 100644 --- a/src/libutil/http_connection.c +++ b/src/libutil/http_connection.c @@ -1093,7 +1093,7 @@ rspamd_http_connection_new_common (struct rspamd_http_context *ctx, struct rspamd_http_connection *conn; struct rspamd_http_connection_private *priv; - g_assert (error_handler != NULL && finish_handler == NULL); + g_assert (error_handler != NULL && finish_handler != NULL); conn = g_malloc0 (sizeof (struct rspamd_http_connection)); conn->opts = opts;