From 8f653e3fc3250ebf7c92bc09c0619883cea92500 Mon Sep 17 00:00:00 2001 From: SJ Date: Tue, 11 Feb 2014 22:11:58 +0100 Subject: [PATCH] parser fix for internal messages regarding invalid date --- src/parser.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/parser.c b/src/parser.c index 43cdffc8..6881c456 100644 --- a/src/parser.c +++ b/src/parser.c @@ -209,6 +209,11 @@ int parse_line(char *buf, struct _state *state, struct session_data *sdata, int state->is_header = 1; memset(state->b_body, 0, BIGBUFSIZE); state->bodylen = 0; + + if(sdata->import == 1){ + sdata->sent = 0; + } + } if(take_into_pieces == 1){