diff libpurple/protocols/simple/simple.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 2ec94166be43
children
line wrap: on
line diff
--- a/libpurple/protocols/simple/simple.c	Tue Oct 18 18:47:48 2011 +0000
+++ b/libpurple/protocols/simple/simple.c	Tue Oct 18 20:25:41 2011 +0000
@@ -1705,7 +1705,7 @@
 		if(sip->fd == source) sip->fd = -1;
 		return;
 	}
-	gc->last_received = time(NULL);
+	purple_connection_update_last_received(gc);
 	conn->inbufused += len;
 	conn->inbuf[conn->inbufused] = '\0';