Mercurial > pidgin
diff libpurple/protocols/msn/servconn.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 | 35b4f1dc4c8d |
children | 1c68bd1c7128 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/servconn.c Thu Jan 17 21:08:20 2008 +0000 +++ b/libpurple/protocols/msn/servconn.c Wed Jan 23 23:28:38 2008 +0000 @@ -391,6 +391,7 @@ session = servconn->session; len = read(servconn->fd, buf, sizeof(buf) - 1); + servconn->session->account->gc->last_connected = time(NULL); if (len <= 0) { switch (errno) {