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

Added a bit of debug output when inbound QWK packets are detected.

parent c92690a3
No related branches found
No related tags found
No related merge requests found
...@@ -1924,6 +1924,7 @@ void event_thread(void* arg) ...@@ -1924,6 +1924,7 @@ void event_thread(void* arg)
sprintf(str,"%s%s.q%c%c",sbbs->cfg.data_dir,sbbs->cfg.qhub[i]->id sprintf(str,"%s%s.q%c%c",sbbs->cfg.data_dir,sbbs->cfg.qhub[i]->id
,j>10 ? ((j-1)/10)+'0' : 'w' ,j>10 ? ((j-1)/10)+'0' : 'w'
,j ? ((j-1)%10)+'0' : 'k'); ,j ? ((j-1)%10)+'0' : 'k');
eprintf(LOG_DEBUG,"Inbound QWK Packet detected: %s", str);
if(fexistcase(str) && flength(str)>0) { /* silently ignore 0-byte QWK packets */ if(fexistcase(str) && flength(str)>0) { /* silently ignore 0-byte QWK packets */
delfiles(sbbs->cfg.temp_dir,ALLFILES); delfiles(sbbs->cfg.temp_dir,ALLFILES);
sbbs->online=ON_LOCAL; sbbs->online=ON_LOCAL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment