Remove global variable "now".

This commit is contained in:
Guus Sliepen 2007-05-18 09:34:06 +00:00
parent 7e1117197c
commit ddc6a81a85
10 changed files with 18 additions and 38 deletions

View file

@ -116,7 +116,7 @@ bool send_ping(connection_t *c)
cp();
c->status.pinged = true;
c->last_ping_time = now;
c->last_ping_time = time(NULL);
return send_request(c, "%d", PING);
}