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

Log an error if any files in the data/qnet/*.out directory could not be

removed.
parent 5c2c76a6
No related branches found
No related tags found
No related merge requests found
......@@ -295,7 +295,9 @@ void sbbs_t::qwk_success(ulong msgcnt, char bi, char prepack)
SAFECOPY(id,useron.alias);
strlwr(id);
sprintf(str,"%sqnet/%s.out/",cfg.data_dir,id);
delfiles(str,ALLFILES);
long result = delfiles(str,ALLFILES);
if(result < 0)
errormsg(WHERE, ERR_REMOVE, str, result);
}
if(!prepack) {
......
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