Still need a temporization when connecting to a server
authorMikael Berthe <mikael@lilotux.net>
Sun, 28 Aug 2005 10:38:10 +0200
changeset 411 d35050efb5ac
parent 410 d39ba53fc38e
child 412 9c640ee3bae3
Still need a temporization when connecting to a server This reduces CPU consumption and fills the logs slower in debug mode.
mcabber/src/jabglue.c
--- a/mcabber/src/jabglue.c	Sat Aug 27 22:32:31 2005 +0200
+++ b/mcabber/src/jabglue.c	Sun Aug 28 10:38:10 2005 +0200
@@ -196,6 +196,7 @@
   }
 
   if (jc && jc->state == JCONN_STATE_CONNECTING) {
+    usleep(75000);
     jab_start(jc);
     return;
   }