diff libpurple/protocols/msn/httpconn.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 1a2840d2cd02
children
line wrap: on
line diff
--- a/libpurple/protocols/msn/httpconn.c	Tue Oct 18 18:47:48 2011 +0000
+++ b/libpurple/protocols/msn/httpconn.c	Tue Oct 18 20:25:41 2011 +0000
@@ -287,7 +287,7 @@
 
 	if (servconn->type == MSN_SERVCONN_NS) {
 		PurpleConnection *gc = purple_account_get_connection(servconn->session->account);
-		gc->last_received = time(NULL);
+		purple_connection_update_last_received(gc);
 	}
 
 	len = read(httpconn->fd, buf, sizeof(buf) - 1);