Fix compiler warnings on *BSD.
This commit is contained in:
parent
2b4c0c6362
commit
1be0c284c7
3 changed files with 4 additions and 4 deletions
|
|
@ -209,7 +209,7 @@ static void timeout_handler(void *data) {
|
|||
|
||||
// timeout during ping
|
||||
if(c->status.pinged) {
|
||||
logger(DEBUG_CONNECTIONS, LOG_INFO, "%s (%s) didn't respond to PING in %ld seconds", c->name, c->hostname, (long)now.tv_sec - c->last_ping_time);
|
||||
logger(DEBUG_CONNECTIONS, LOG_INFO, "%s (%s) didn't respond to PING in %ld seconds", c->name, c->hostname, (long)(now.tv_sec - c->last_ping_time));
|
||||
terminate_connection(c, c->edge);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue