mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 04:11:59 +01:00
fixed a journal parsing issue
This commit is contained in:
parent
87be05c534
commit
fa9ce0f715
@ -437,6 +437,7 @@ int parse_line(char *buf, struct _state *state, struct session_data *sdata, int
|
||||
if(state->message_state == MSG_BODY && sdata->ms_journal == 1 && (strncasecmp(buf, "Recipient:", strlen("Recipient:")) == 0 || strncasecmp(buf, "To:", strlen("To:")) == 0) ){
|
||||
state->is_header = 1;
|
||||
state->is_1st_header = 1;
|
||||
sdata->ms_journal = 0;
|
||||
state->message_state = MSG_RECIPIENT;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user