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

Do not repeatedly check the hangup event.

parent 3ab7500b
No related branches found
No related tags found
No related merge requests found
......@@ -992,7 +992,7 @@ int sbbs_t::external(const char* cmdline, long mode, const char* startup_dir)
/* to allow for last minute reception of output from DOS programs */
if(loop_since_io>=3) {
if(hangup_event!=NULL
if(online && hangup_event!=NULL
&& WaitForSingleObject(hangup_event,0)==WAIT_OBJECT_0) {
lprintf(LOG_NOTICE,"Node %d External program requested hangup (dropped DTR)"
,cfg.node_num);
......
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