Fix replyid on echomail messages

This commit is contained in:
Andrew Pamment 2016-04-15 12:34:58 +10:00
parent d0f0eccf48
commit 03ed402e71

View File

@ -957,12 +957,12 @@ void read_message(int socket, struct user_record *user, struct msg_headers *msgh
jsf.Buffer = (char *)buffer;
JAM_PutSubfield(jsp, &jsf);
if (msgid != NULL) {
if (msghs->msgs[mailno]->msgid != NULL) {
sprintf(buffer, "%d:%d/%d.%d %s", conf.mail_conferences[user->cur_mail_conf]->fidoaddr->zone,
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,
&msgid[strlen(timestr) - 8]);
&msghs->msgs[mailno]->msgid[strlen(timestr) - 8]);
}
jsf.LoID = JAMSFLD_REPLYID;