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

Sets online to ON_LOCAL before calling unpack_qwk(), forces log output to

event log instead of Telnet/BBS log.
parent 3ad6de5b
No related branches found
No related tags found
No related merge requests found
......@@ -1507,6 +1507,7 @@ void event_thread(void* arg)
fexistcase(str); /* fix wrong-case filenames on Unix */
if(flength(str)>0) { /* silently ignore 0-byte QWK packets */
delfiles(sbbs->cfg.temp_dir,ALLFILES);
sbbs->online=ON_LOCAL;
if(sbbs->unpack_qwk(str,i)==false) {
char newname[MAX_PATH+1];
sprintf(newname,"%s.%lx.bad",str,(long)now);
......@@ -1517,6 +1518,7 @@ void event_thread(void* arg)
sbbs->logline("Q!",logmsg);
}
}
sbbs->online=0;
remove(str);
}
}
......
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