]> source.dussan.org Git - rspamd.git/commitdiff
Set flags to zero initially.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 11 Mar 2015 14:52:17 +0000 (14:52 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 11 Mar 2015 14:52:17 +0000 (14:52 +0000)
src/libutil/http.c

index 1e0d37017efa65dad661377c66e441001b98d08e..ba759baf1beac202dfbebd31ff811ddccf17d30b 100644 (file)
@@ -1259,6 +1259,7 @@ rspamd_http_new_message (enum http_parser_type type)
        new->type = type;
        new->method = HTTP_GET;
        new->peer_key = NULL;
+       new->flags = 0;
 
        return new;
 }