Mercurial > pidgin.yaz
diff libpurple/protocols/msn/httpconn.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/httpconn.c Mon Sep 26 14:57:21 2011 +0900 +++ b/libpurple/protocols/msn/httpconn.c Sat Nov 19 14:42:54 2011 +0900 @@ -285,8 +285,10 @@ httpconn = data; servconn = httpconn->servconn; - 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(httpconn->fd, buf, sizeof(buf) - 1); if (len < 0 && errno == EAGAIN)