Mercurial > pidgin.yaz
diff libpurple/protocols/oscar/flap_connection.c @ 22149:252b96b6a32c
Don't send keep-alives if we've received data since in the last KEEPALIVE_INTERVAL seconds
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 23 Jan 2008 23:28:38 +0000 |
parents | 38cc722159ff |
children | 6419554aadd9 |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/flap_connection.c Thu Jan 17 21:08:20 2008 +0000 +++ b/libpurple/protocols/oscar/flap_connection.c Wed Jan 23 23:28:38 2008 +0000 @@ -817,6 +817,7 @@ OSCAR_DISCONNECT_LOST_CONNECTION, g_strerror(errno)); break; } + conn->od->gc->last_received = time(NULL); /* If we don't even have a complete FLAP header then do nothing */ conn->header_received += read;