projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove global variable "now".
[tinc]
/
src
/
protocol_misc.c
diff --git
a/src/protocol_misc.c
b/src/protocol_misc.c
index
52e97e5
..
ca1dc31
100644
(file)
--- a/
src/protocol_misc.c
+++ b/
src/protocol_misc.c
@@
-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);
}