diff libpurple/protocols/oscar/flap_connection.c @ 32306: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 a5b556ac1de5
children ec6371d4cae8
line wrap: on
line diff
--- a/libpurple/protocols/oscar/flap_connection.c	Tue Oct 18 18:47:48 2011 +0000
+++ b/libpurple/protocols/oscar/flap_connection.c	Tue Oct 18 20:25:41 2011 +0000
@@ -921,7 +921,7 @@
 						OSCAR_DISCONNECT_LOST_CONNECTION, g_strerror(errno));
 				break;
 			}
-			conn->od->gc->last_received = time(NULL);
+			purple_connection_update_last_received(conn->od->gc);
 
 			/* If we don't even have a complete FLAP header then do nothing */
 			conn->header_received += read;