removed some debug log
This commit is contained in:
parent
32e4168370
commit
08860e2e79
@ -452,7 +452,6 @@ void check_servers(void)
|
|||||||
case NCS_CONNECT: /*
|
case NCS_CONNECT: /*
|
||||||
* In this state we check if the connection is still alive
|
* In this state we check if the connection is still alive
|
||||||
*/
|
*/
|
||||||
Syslog('r', "%s connect", tnsl->server);
|
|
||||||
if (((int)now - (int)tnsl->last) > 70) {
|
if (((int)now - (int)tnsl->last) > 70) {
|
||||||
Syslog('+', "IBC: server %s connection is dead", tnsl->server);
|
Syslog('+', "IBC: server %s connection is dead", tnsl->server);
|
||||||
tnsl->state = NCS_DEAD;
|
tnsl->state = NCS_DEAD;
|
||||||
@ -471,19 +470,19 @@ void check_servers(void)
|
|||||||
tnsl->action = now + (time_t)10;
|
tnsl->action = now + (time_t)10;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NCS_HANGUP: Syslog('r', "%s hangup", tnsl->server);
|
case NCS_HANGUP: Syslog('r', "%s hangup => call", tnsl->server);
|
||||||
tnsl->action = now + (time_t)1;
|
tnsl->action = now + (time_t)1;
|
||||||
tnsl->state = NCS_CALL;
|
tnsl->state = NCS_CALL;
|
||||||
changed = TRUE;
|
changed = TRUE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NCS_DEAD: Syslog('r', "%s dead", tnsl->server);
|
case NCS_DEAD: Syslog('r', "%s dead -> call", tnsl->server);
|
||||||
tnsl->action = now + (time_t)1;
|
tnsl->action = now + (time_t)1;
|
||||||
tnsl->state = NCS_CALL;
|
tnsl->state = NCS_CALL;
|
||||||
changed = TRUE;
|
changed = TRUE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NCS_FAIL: Syslog('r', "%s fail", tnsl->server);
|
case NCS_FAIL: Syslog('r', "%s fail => init", tnsl->server);
|
||||||
tnsl->action = now + (time_t)1;
|
tnsl->action = now + (time_t)1;
|
||||||
tnsl->state = NCS_INIT;
|
tnsl->state = NCS_INIT;
|
||||||
changed = TRUE;
|
changed = TRUE;
|
||||||
|
Reference in New Issue
Block a user