From 1c74056c8364b948fe78497c5a215f9d505fdef7 Mon Sep 17 00:00:00 2001 From: tomo Date: Wed, 15 Jul 2009 06:58:52 +0000 Subject: [PATCH] XEmacs 21.4.22. --- lib-src/winclient.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib-src/winclient.c b/lib-src/winclient.c index 7715882..086c382 100644 --- a/lib-src/winclient.c +++ b/lib-src/winclient.c @@ -43,6 +43,7 @@ static char * getNextArg (const char **ptr, unsigned *len); /* -- Post-Include Defines -------------------------------------------------- */ /* Timeouts & delays */ +#define CONNECT_RETRIES 10 #define CONNECT_DELAY 500 /* ms */ #define TRANSACTION_TIMEOUT 5000 /* ms */ #define MAX_INPUT_IDLE_WAIT INFINITE /* ms */ @@ -209,7 +210,7 @@ openConversation (void) CloseHandle (pi.hProcess); /* Try to connect */ - for (n = 0; n < 5; n++) + for (n = 0; n < CONNECT_RETRIES; n++) { Sleep (CONNECT_DELAY); -- 1.7.10.4