mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:17:02 +02:00
date parser fix
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
|
||||
#define VERSION "1.1.1-pre"
|
||||
|
||||
#define BUILD 896
|
||||
#define BUILD 897
|
||||
|
||||
#define HOSTID "mailarchiver"
|
||||
|
||||
|
@ -380,6 +380,9 @@ int parse_line(char *buf, struct _state *state, struct session_data *sdata, int
|
||||
*/
|
||||
|
||||
else if(strncasecmp(buf, "Date:", strlen("Date:")) == 0 && state->is_1st_header == 1){
|
||||
|
||||
if(strstr(buf, "=?") && strstr(buf, "?=")) fixupEncodedHeaderLine(buf, MAXBUFSIZE);
|
||||
|
||||
if(sdata->sent == 0) sdata->sent = parse_date_header(buf, cfg);
|
||||
else {
|
||||
sdata->sent = parse_date_header(buf, cfg);
|
||||
|
Reference in New Issue
Block a user