mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:30:11 +01:00
extra recipient fix
This commit is contained in:
parent
5afb3f4f72
commit
ff50fa42e6
@ -34,6 +34,15 @@ struct _state parse_message(struct session_data *sdata, int take_into_pieces, st
|
|||||||
|
|
||||||
if(sdata->import == 1 && data->import->extra_recipient){
|
if(sdata->import == 1 && data->import->extra_recipient){
|
||||||
len = strlen(data->import->extra_recipient);
|
len = strlen(data->import->extra_recipient);
|
||||||
|
|
||||||
|
addnode(state.journal_recipient, data->import->extra_recipient);
|
||||||
|
|
||||||
|
memcpy(&(state.b_journal_to[state.journaltolen]), data->import->extra_recipient, len);
|
||||||
|
state.journaltolen += len;
|
||||||
|
memcpy(&(state.b_journal_to[state.journaltolen]), " ", 1);
|
||||||
|
state.journaltolen++;
|
||||||
|
strtolower(state.b_journal_to);
|
||||||
|
|
||||||
memcpy(&(state.b_to[state.tolen]), data->import->extra_recipient, len);
|
memcpy(&(state.b_to[state.tolen]), data->import->extra_recipient, len);
|
||||||
state.tolen += len;
|
state.tolen += len;
|
||||||
memcpy(&(state.b_to[state.tolen]), " ", 1);
|
memcpy(&(state.b_to[state.tolen]), " ", 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user