From c36c5684878bffaac01495afee3a5adc5de94ee3 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Mon, 23 Nov 2015 10:04:43 +0000 Subject: [PATCH] Create the NetMail directory if it doesn't already exist, in pkt_to_msg(), apparently SCFG wasn't creating this directory and SBBS only created it if you sent FTN netmail from the terminal server. --- src/sbbs3/sbbsecho.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sbbs3/sbbsecho.c b/src/sbbs3/sbbsecho.c index 82bb5519b0..ec721e93fb 100644 --- a/src/sbbs3/sbbsecho.c +++ b/src/sbbs3/sbbsecho.c @@ -3407,6 +3407,7 @@ int pkt_to_msg(FILE* fidomsg, fmsghdr_t* hdr, char* info) printf("Empty NetMail"); else { printf("Exporting: "); + MKDIR(scfg.netmail_dir); for(i=1;i;i++) { sprintf(path,"%s%u.msg",scfg.netmail_dir,i); if(!fexistcase(path)) -- GitLab