diff libpurple/protocols/oscar/peer.c @ 26612:b87843de7c6a

A patch from Arunan Balasubramaniam to use timeouts in seconds instead of milliseconds in libpurple. This enables grouping of timers for greater power efficiency. Fixes #8875. committer: Elliott Sales de Andrade <qulogic@pidgin.im>
author foss@abala.me
date Fri, 10 Apr 2009 06:18:08 +0000
parents 8c8948b9f602
children 01f1929d0936
line wrap: on
line diff
--- a/libpurple/protocols/oscar/peer.c	Fri Apr 10 05:57:23 2009 +0000
+++ b/libpurple/protocols/oscar/peer.c	Fri Apr 10 06:18:08 2009 +0000
@@ -812,7 +812,7 @@
 			(conn->client_connect_data != NULL))
 		{
 			/* Connecting... */
-			conn->connect_timeout_timer = purple_timeout_add(5000,
+			conn->connect_timeout_timer = purple_timeout_add_seconds(5,
 					peer_connection_tooktoolong, conn);
 			return;
 		}