journal header parsing fix

This commit is contained in:
SJ 2013-11-22 21:44:04 +01:00
parent 881a2380e0
commit c0301ceaca
4 changed files with 3 additions and 4 deletions

View File

@ -14,7 +14,7 @@
#define VERSION "0.1.25-master-branch"
#define BUILD 850
#define BUILD 851
#define HOSTID "mailarchiver"

View File

@ -203,11 +203,12 @@ int parse_line(char *buf, struct _state *state, struct session_data *sdata, int
}
if(sdata->ms_journal == 1 && strncasecmp(buf, "Received:", strlen("Received:")) == 0){
if(state->is_1st_header == 0) memset(state->b_subject, 0, MAXBUFSIZE);
state->is_1st_header = 1;
state->is_header = 1;
memset(state->b_body, 0, BIGBUFSIZE);
state->bodylen = 0;
memset(state->b_subject, 0, MAXBUFSIZE);
}
if(take_into_pieces == 1){

View File

@ -1,2 +0,0 @@
order deny,allow
deny from all

0
webui/tmp/index.html Normal file
View File