]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix build
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 20 Nov 2016 17:38:19 +0000 (17:38 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 20 Nov 2016 17:38:19 +0000 (17:38 +0000)
src/libserver/redis_pool.c

index ef5951cfa8661245ae16a6824a374ce542951bdb..578115571edbd6f9a5fab59a0a7b91d814d3bfdd 100644 (file)
@@ -115,7 +115,7 @@ rspamd_redis_pool_conn_dtor (struct rspamd_redis_pool_connection *conn)
                        event_del (&conn->timeout);
                }
 
-               if (conn->ctx && !(conn->ctx->c->flags & REDIS_FREEING)) {
+               if (conn->ctx && !(conn->ctx->c.flags & REDIS_FREEING)) {
                        redisAsyncContext *ac = conn->ctx;
 
                        /* To prevent on_disconnect here */