commit 1ca6816: [Fix] Core: Fix etags support
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Feb 11 11:28:07 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-02-11 11:19:42 +0000
URL: https://github.com/rspamd/rspamd/commit/1ca6816cfd2a16156c75019293dd3f5b996a0802 (HEAD -> master)
[Fix] Core: Fix etags support
Issue: #2749
Closes: #2749
---
src/libutil/map.c | 5 +++--
1 file 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) {
More information about the Commits
mailing list