projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update.
[chise/xemacs-chise.git-]
/
lib-src
/
winclient.c
diff --git
a/lib-src/winclient.c
b/lib-src/winclient.c
index
7715882
..
086c382
100644
(file)
--- 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 */
/* -- 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 */
#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 */
CloseHandle (pi.hProcess);
/* Try to connect */
- for (n = 0; n < 5; n++)
+ for (n = 0; n < CONNECT_RETRIES; n++)
{
Sleep (CONNECT_DELAY);
{
Sleep (CONNECT_DELAY);