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

Add a ^ARESCANNED w:x/y.z control line to exported messages during a rescan

(apparently this is a pseudo-standard supported by fastecho and other
"old-school" tossers) - per mark lewis' request.
parent 194d2885
No related branches found
No related tags found
No related merge requests found
...@@ -4792,6 +4792,9 @@ void export_echomail(const char* sub_code, const nodecfg_t* nodecfg, bool rescan ...@@ -4792,6 +4792,9 @@ void export_echomail(const char* sub_code, const nodecfg_t* nodecfg, bool rescan
else /* generate TID */ else /* generate TID */
f+=sprintf(fmsgbuf+f,"\1TID: %s\r", sbbsecho_pid()); f+=sprintf(fmsgbuf+f,"\1TID: %s\r", sbbsecho_pid());
if(rescan)
f+=sprintf(fmsgbuf+f,"\1RESCANNED %s\r", smb_faddrtoa(&scfg.sub[subnum]->faddr,NULL));
/* Unknown kludge lines are added here */ /* Unknown kludge lines are added here */
for(l=0;l<msg.total_hfields && f<fmsgbuflen;l++) for(l=0;l<msg.total_hfields && f<fmsgbuflen;l++)
if(msg.hfield[l].type == FIDOCTRL) if(msg.hfield[l].type == FIDOCTRL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment