diff options
author | TingPing <tngpng@gmail.com> | 2013-05-22 17:17:28 -0700 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-05-22 17:17:28 -0700 |
commit | fcdd85ae5e7d69a1890c81a4789423f5bbfb72ae (patch) | |
tree | e8aa71f67210bc5f022cad97c40692ab623ab832 /src/common | |
parent | fd71bb768a78db496df9f166ab78def463506158 (diff) | |
parent | 89078eb3b317b9e047547936575ad5e8f6ca7943 (diff) |
Merge pull request #603 from orium/lag-meter-stuck
Fix an issue where the lag meter could get stuck after reconnect
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 9b71d53d..3f7027e2 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); |