aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/map.c5
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) {