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

Added support for @REPLYTO kludge line (for future use).

parent b1570f51
Branches
Tags
No related merge requests found
...@@ -322,6 +322,17 @@ bool sbbs_t::qwktomsg(FILE *qwk_fp, char *hdrblk, char fromhub, uint subnum ...@@ -322,6 +322,17 @@ bool sbbs_t::qwktomsg(FILE *qwk_fp, char *hdrblk, char fromhub, uint subnum
while(*p && *p<=SP) p++; /* Skip any spaces */ while(*p && *p<=SP) p++; /* Skip any spaces */
msg.hdr.when_written.zone=(short)ahtoul(p); msg.hdr.when_written.zone=(short)ahtoul(p);
} }
if(!strnicmp(header+skip,"@REPLYTO:",9)) {
p=strchr(header+skip, '\n');
i=skip;
if(p) {
*p=0;
skip+=strlen(header+i)+1;
}
p=header+i+9; /* Skip "@REPLYTO:" */
while(*p && *p<=SP) p++; /* Skip any spaces */
smb_hfield(&msg,REPLYTO,strlen(p),p);
}
free(header); free(header);
/*****************/ /*****************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment