diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-11 11:19:42 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-11 11:19:42 +0000 |
commit | 1ca6816cfd2a16156c75019293dd3f5b996a0802 (patch) | |
tree | bf38bc74def394449ea2a0d284693070d9c63adb /src/libutil | |
parent | 334d21b2d5da3144f7117d8a0448746353db1a24 (diff) | |
download | rspamd-1ca6816cfd2a16156c75019293dd3f5b996a0802.tar.gz rspamd-1ca6816cfd2a16156c75019293dd3f5b996a0802.zip |
[Fix] Core: Fix etags support
Issue: #2749
Closes: #2749
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/map.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libutil/map.c b/src/libutil/map.c index d96cdc2ad..f13f484d8 100644 --- a/src/libutil/map.c +++ b/src/libutil/map.c @@ -664,9 +664,10 @@ read_data: if (cbd->data->etag) { /* Remove old etag */ rspamd_fstring_free (cbd->data->etag); - cbd->data->etag = rspamd_fstring_new_init (etag_hdr->begin, - etag_hdr->len); } + + cbd->data->etag = rspamd_fstring_new_init (etag_hdr->begin, + etag_hdr->len); } else { if (cbd->data->etag) { |