From 196c6d272f28b25139122c1f2e18e8ebdebb3b56 Mon Sep 17 00:00:00 2001 From: SJ Date: Wed, 4 Jun 2014 23:23:13 +0200 Subject: [PATCH] reindex sent date fix --- src/config.h | 2 +- src/reindex.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/config.h b/src/config.h index 44962c77..a8ad88c6 100644 --- a/src/config.h +++ b/src/config.h @@ -14,7 +14,7 @@ #define VERSION "0.1.25-rc2" -#define BUILD 874 +#define BUILD 875 #define HOSTID "mailarchiver" diff --git a/src/reindex.c b/src/reindex.c index 233926f8..d31ab7cb 100644 --- a/src/reindex.c +++ b/src/reindex.c @@ -119,6 +119,8 @@ uint64 retrieve_email_by_metadata_id(struct session_data *sdata, struct __data * snprintf(sdata->filename, SMALLBUFSIZE-1, "%s", filename); + sdata->sent = 0; + state = parse_message(sdata, 0, data, cfg); post_parse(sdata, &state, cfg);