changeset 411:d35050efb5ac

Still need a temporization when connecting to a server This reduces CPU consumption and fills the logs slower in debug mode.
author Mikael Berthe <mikael@lilotux.net>
date Sun, 28 Aug 2005 10:38:10 +0200
parents d39ba53fc38e
children 9c640ee3bae3
files mcabber/src/jabglue.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
   }