Mercurial > pidgin.yaz
diff libpurple/protocols/msn/servconn.c @ 32827:4a34689eeb33 default tip
merged from im.pidgin.pidgin
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 19 Nov 2011 14:42:54 +0900 |
parents | 50cd80d3554e |
children |
line wrap: on
line diff
--- a/libpurple/protocols/msn/servconn.c Mon Sep 26 14:57:21 2011 +0900 +++ b/libpurple/protocols/msn/servconn.c Sat Nov 19 14:42:54 2011 +0900 @@ -421,8 +421,10 @@ servconn = data; - if (servconn->type == MSN_SERVCONN_NS) - servconn->session->account->gc->last_received = time(NULL); + if (servconn->type == MSN_SERVCONN_NS) { + PurpleConnection *gc = purple_account_get_connection(servconn->session->account); + purple_connection_update_last_received(gc); + } len = read(servconn->fd, buf, sizeof(buf) - 1); if (len < 0 && errno == EAGAIN)