]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Another 'oops'
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 18 Mar 2019 17:49:38 +0000 (17:49 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 18 Mar 2019 17:49:38 +0000 (17:49 +0000)
src/libutil/http_connection.c

index 72cc1d239fada1175e9505dd3e0c10ec8cc2fba6..a0623dca931fae47c48d9b890f18e479da7888da 100644 (file)
@@ -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;