From: tomo Date: Wed, 15 Jul 2009 06:58:52 +0000 (+0000) Subject: XEmacs 21.4.22. X-Git-Tag: r21-4-22^2 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=refs%2Fremotes%2Forigin%2FXEmacs-21_2;p=chise%2Fxemacs-chise.git.1 XEmacs 21.4.22. --- 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);