diff --git a/src/server.c b/src/server.c index 820ad81..7ee8881 100644 --- a/src/server.c +++ b/src/server.c @@ -266,7 +266,7 @@ int server_read(struct connection *server) } break; } - info->last_active = -1; + info->last_active = time(NULL); return status; }