NSM: Write server unresponsiveness to status log instead of popping up an alert window.

This commit is contained in:
Jonathan Moore Liles 2013-05-14 21:03:42 -07:00
parent d0c4be1ff9
commit 4dcc011ca1
1 changed files with 4 additions and 1 deletions

View File

@ -1015,16 +1015,19 @@ public:
if ( active() ) if ( active() )
{ {
deactivate(); deactivate();
fl_alert( "Server is not responding..." ); log_status( "Server is not responding..." );
} }
} }
else else
{ {
if ( !active() ) if ( !active() )
{
log_status( "Server is back." );
activate(); activate();
} }
} }
} }
}
int init_osc ( void ) int init_osc ( void )