Mercurial > pidgin
diff libpurple/protocols/msn/servconn.c @ 32672:3828a61c44da
A boring and large patch so I can merge heads.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 23 Dec 2011 08:21:58 +0000 |
parents | 230caecf5435 |
children |
line wrap: on
line diff
--- a/libpurple/protocols/msn/servconn.c Mon Aug 22 22:46:08 2011 +0000 +++ b/libpurple/protocols/msn/servconn.c Fri Dec 23 08:21:58 2011 +0000 @@ -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)