Mercurial > pidgin.yaz
diff libpurple/protocols/oscar/oscar.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 | 0a1f7bff1ddd |
children | 0e99b80b54c6 b623c1824f29 |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c Fri Apr 10 05:57:23 2009 +0000 +++ b/libpurple/protocols/oscar/oscar.c Fri Apr 10 06:18:08 2009 +0000 @@ -1268,7 +1268,7 @@ aim_ssi_reqdata(od); if (od->getblisttimer > 0) purple_timeout_remove(od->getblisttimer); - od->getblisttimer = purple_timeout_add(30000, purple_ssi_rerequestdata, od); + od->getblisttimer = purple_timeout_add_seconds(30, purple_ssi_rerequestdata, od); aim_locate_reqrights(od); aim_buddylist_reqrights(od, conn); @@ -5047,7 +5047,7 @@ _("The AIM servers were temporarily unable to send " "your buddy list. Your buddy list is not lost, and " "will probably become available in a few minutes.")); - od->getblisttimer = purple_timeout_add(30000, purple_ssi_rerequestdata, od); + od->getblisttimer = purple_timeout_add_seconds(30, purple_ssi_rerequestdata, od); return 1; }