Commit 5ca31dd7 authored by rswindell's avatar rswindell
Browse files

Don't try to remove a bad .QWK packet if it's been renamed to *.bad.

parent f9e1c2b4
...@@ -2872,7 +2872,7 @@ void event_thread(void* arg) ...@@ -2872,7 +2872,7 @@ void event_thread(void* arg)
sbbs->delfiles(sbbs->cfg.temp_dir,ALLFILES); sbbs->delfiles(sbbs->cfg.temp_dir,ALLFILES);
sbbs->console&=~CON_L_ECHO; sbbs->console&=~CON_L_ECHO;
sbbs->online=FALSE; sbbs->online=FALSE;
if(remove(str)) if(fexist(str) && remove(str))
sbbs->errormsg(WHERE, ERR_REMOVE, str, 0); sbbs->errormsg(WHERE, ERR_REMOVE, str, 0);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment