revoked unneccessary and probably breaking change in misc
This commit is contained in:
parent
39e2ea03b2
commit
5fa56e530d
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ bool send_ping(connection_t *c) {
|
||||||
c->status.pinged = true;
|
c->status.pinged = true;
|
||||||
c->last_ping_time = now;
|
c->last_ping_time = now;
|
||||||
|
|
||||||
return send_request(c, "%d %lf %ld", PING, difftime(c->last_ping_time.tv_sec,0), c->last_ping_time.tv_usec);
|
return send_request(c, "%d %zu %ld", PING, c->last_ping_time.tv_sec, c->last_ping_time.tv_usec);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ping_h(connection_t *c, const char *request) {
|
bool ping_h(connection_t *c, const char *request) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue