# HG changeset patch # User Mikael Berthe # Date 1142335355 -3600 # Node ID 12dc6bdff8c188af3b1ca9496aae711eae71f8e1 # Parent b747f76e57aeeec60cc0d33ec10cd7e13aa21a55 Check for events timeout diff -r b747f76e57ae -r 12dc6bdff8c1 mcabber/src/jabglue.c --- a/mcabber/src/jabglue.c Tue Mar 14 12:08:57 2006 +0100 +++ b/mcabber/src/jabglue.c Tue Mar 14 12:22:35 2006 +0100 @@ -171,7 +171,7 @@ void jb_main() { time_t now; - static time_t last_iqs_check = 0; + static time_t last_eviqs_check = 0; if (!online) { safe_usleep(10000); @@ -216,10 +216,11 @@ time(&now); - // Check for IQ requests timeouts - if (now > last_iqs_check + 20) { + // Check for EV & IQ requests timeouts + if (now > last_eviqs_check + 20) { iqs_check_timeout(now); - last_iqs_check = now; + evs_check_timeout(now); + last_eviqs_check = now; } // Keepalive