Fix reply-id
This commit is contained in:
parent
7dba74f514
commit
7feead5819
@ -1736,11 +1736,7 @@ int read_message(struct user_record *user, struct msg_headers *msghs, int mailno
|
|||||||
JAM_PutSubfield(jsp, &jsf);
|
JAM_PutSubfield(jsp, &jsf);
|
||||||
|
|
||||||
if (msghs->msgs[mailno]->msgid != NULL) {
|
if (msghs->msgs[mailno]->msgid != NULL) {
|
||||||
sprintf(buffer, "%d:%d/%d.%d %s", conf.mail_conferences[user->cur_mail_conf]->fidoaddr->zone,
|
sprintf(buffer, "%s", msghs->msgs[mailno]->msgid);
|
||||||
conf.mail_conferences[user->cur_mail_conf]->fidoaddr->net,
|
|
||||||
conf.mail_conferences[user->cur_mail_conf]->fidoaddr->node,
|
|
||||||
conf.mail_conferences[user->cur_mail_conf]->fidoaddr->point,
|
|
||||||
msghs->msgs[mailno]->msgid);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jsf.LoID = JAMSFLD_REPLYID;
|
jsf.LoID = JAMSFLD_REPLYID;
|
||||||
@ -1805,11 +1801,7 @@ int read_message(struct user_record *user, struct msg_headers *msghs, int mailno
|
|||||||
JAM_PutSubfield(jsp, &jsf);
|
JAM_PutSubfield(jsp, &jsf);
|
||||||
jmh.MsgIdCRC = JAM_Crc32(buffer, strlen(buffer));
|
jmh.MsgIdCRC = JAM_Crc32(buffer, strlen(buffer));
|
||||||
if (msghs->msgs[mailno]->msgid != NULL) {
|
if (msghs->msgs[mailno]->msgid != NULL) {
|
||||||
sprintf(buffer, "%d:%d/%d.%d %s", conf.mail_conferences[user->cur_mail_conf]->fidoaddr->zone,
|
sprintf(buffer, "%s", msghs->msgs[mailno]->msgid);
|
||||||
conf.mail_conferences[user->cur_mail_conf]->fidoaddr->net,
|
|
||||||
conf.mail_conferences[user->cur_mail_conf]->fidoaddr->node,
|
|
||||||
conf.mail_conferences[user->cur_mail_conf]->fidoaddr->point,
|
|
||||||
msghs->msgs[mailno]->msgid);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jsf.LoID = JAMSFLD_REPLYID;
|
jsf.LoID = JAMSFLD_REPLYID;
|
||||||
|
Reference in New Issue
Block a user