Skip to content
Snippets Groups Projects
Commit 333d6ae6 authored by rswindell's avatar rswindell
Browse files

Truncates imported REPLYID (@REPLY kludge line) at first space character

(fix for nntpservice-imported messages referencing multiple msg IDs).
parent fa45fd32
No related branches found
No related tags found
No related merge requests found
......@@ -130,10 +130,12 @@ ulong sbbs_t::msgtoqwk(smbmsg_t* msg, FILE *qwk_fp, long mode, int subnum
size+=strlen(str);
str[0]=0;
if(msg->reply_id)
if(msg->reply_id) {
SAFECOPY(tmp,msg->reply_id);
truncstr(tmp," ");
sprintf(str,"@REPLY: %.*s%c"
,(int)(sizeof(str)-12),msg->reply_id,QWK_NEWLINE);
else if(msg->hdr.thread_orig) {
,(int)(sizeof(str)-12),tmp,QWK_NEWLINE);
} else if(msg->hdr.thread_orig) {
memset(&orig_msg,0,sizeof(orig_msg));
orig_msg.hdr.number=msg->hdr.thread_orig;
if(smb_getmsgidx(&smb, &orig_msg))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment