Mercurial > pidgin
diff libpurple/protocols/yahoo/yahoo.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 | eab7d03edfcb |
children | 0f654f866de0 |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c Thu Jan 17 21:08:20 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo.c Wed Jan 23 23:28:38 2008 +0000 @@ -2506,7 +2506,7 @@ _("Server closed the connection.")); return; } - + gc->last_received = time(NULL); yd->rxqueue = g_realloc(yd->rxqueue, len + yd->rxlen); memcpy(yd->rxqueue + yd->rxlen, buf, len); yd->rxlen += len;