Mercurial > pidgin.yaz
diff libpurple/protocols/yahoo/libymsg.c @ 32768:50cd80d3554e
Add a purple_connection_update_last_received() function to update the
PurpleConnection->last_received value.
author | andrew.victor@mxit.com |
---|---|
date | Tue, 18 Oct 2011 20:25:41 +0000 |
parents | 2ec94166be43 |
children | 75daf132caf2 |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c Tue Oct 18 18:47:48 2011 +0000 +++ b/libpurple/protocols/yahoo/libymsg.c Tue Oct 18 20:25:41 2011 +0000 @@ -3155,7 +3155,7 @@ _("Server closed the connection")); return; } - gc->last_received = time(NULL); + purple_connection_update_last_received(gc); yd->rxqueue = g_realloc(yd->rxqueue, len + yd->rxlen); memcpy(yd->rxqueue + yd->rxlen, buf, len); yd->rxlen += len;