From 03ed402e71fd6418d74098e9fe50901939c9420e Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Fri, 15 Apr 2016 12:34:58 +1000 Subject: [PATCH] Fix replyid on echomail messages --- mail_menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail_menu.c b/mail_menu.c index 7573744..8451949 100644 --- a/mail_menu.c +++ b/mail_menu.c @@ -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;