From 89078eb3b317b9e047547936575ad5e8f6ca7943 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Thu, 16 May 2013 15:11:52 +0100 Subject: Fix an issue where the lag meter would be stuck after a reconnect caused by a ping timeout. --- src/common/server.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); -- cgit 1.4.1