commit e2ff034: [Minor] Another 'oops'

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Mar 18 17:56:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-03-18 17:49:38 +0000
URL: https://github.com/rspamd/rspamd/commit/e2ff03403bc58f032a8081a81e22c78fd7e1f250

[Minor] Another 'oops'

---
 src/libutil/http_connection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;


More information about the Commits mailing list