c->name, c->hostname);
if(!c->outbuflen) {
- c->last_flushed_time = now;
if(event_add(&c->outev, NULL) < 0) {
logger(LOG_EMERG, _("event_add failed: %s"), strerror(errno));
abort();
return false;
}
- c->last_ping_time = now;
+ c->last_ping_time = time(NULL);
return true;
}