Mercurial > hg
changeset 756:12dc6bdff8c1
Check for events timeout
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 14 Mar 2006 12:22:35 +0100 |
parents | b747f76e57ae |
children | ae23c8826efb |
files | mcabber/src/jabglue.c |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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