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() )
|
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 )
|
||||||
|
|
Loading…
Reference in New Issue