diff options
author | Diogo Sousa <diogogsousa@gmail.com> | 2013-05-16 15:11:52 +0100 |
---|---|---|
committer | Diogo Sousa <diogogsousa@gmail.com> | 2013-05-16 15:11:52 +0100 |
commit | 89078eb3b317b9e047547936575ad5e8f6ca7943 (patch) | |
tree | 08a257d64477749382cd77cf094c1bfe12e16a09 /src/common | |
parent | 26cefd0587a5ca092a7b4ee442c144eee9e19dc5 (diff) |
Fix an issue where the lag meter would be stuck after a reconnect caused by a
ping timeout.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/server.c b/src/common/server.c index 26d9a7cb..45472e05 100644 --- a/src/common/server.c +++ b/src/common/server.c @@ -489,6 +489,7 @@ server_connected (server * serv) { prefs.wait_on_exit = TRUE; serv->ping_recv = time (0); + serv->lag_sent = 0; serv->connected = TRUE; set_nonblocking (serv->sok); serv->iotag = fe_input_add (serv->sok, FIA_READ|FIA_EX, server_read, serv); |