summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-05-13 10:28:39 -0400
committerAdam Jackson <ajax@redhat.com>2008-05-13 10:28:39 -0400
commita7f85567a3e850fba0c44571453d2852ab1a09be (patch)
tree68657578aeb43012aae276c83278c9189fbd0b51 /modules
parent9129057bdbff0ec9cd8bb780cf7f85f134a291eb (diff)
Bug #15884: Remove useless sleep()'s from the connection code.
For network transports, there's enough delay in the network layer already without adding more. For local transports, just hurry up and fail if the server isn't there.
Diffstat (limited to 'modules')
-rw-r--r--modules/im/ximcp/imTrans.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/im/ximcp/imTrans.c b/modules/im/ximcp/imTrans.c
index a239219..cb17ca0 100644
--- a/modules/im/ximcp/imTrans.c
+++ b/modules/im/ximcp/imTrans.c
@@ -77,10 +77,7 @@ _XimTransConnect(
spec->trans_conn = NULL;
if (connect_stat == TRANS_TRY_CONNECT_AGAIN)
- {
- sleep(1);
continue;
- }
else
break;
}