NSM: Write server unresponsiveness to status log instead of popping up an alert window.
This commit is contained in:
parent
d0c4be1ff9
commit
4dcc011ca1
|
@ -1015,16 +1015,19 @@ public:
|
|||
if ( active() )
|
||||
{
|
||||
deactivate();
|
||||
fl_alert( "Server is not responding..." );
|
||||
log_status( "Server is not responding..." );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( !active() )
|
||||
{
|
||||
log_status( "Server is back." );
|
||||
activate();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int init_osc ( void )
|
||||
|
|
Loading…
Reference in New Issue