summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-15 00:21:24 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-15 00:21:24 +0000
commit668dac5b1230e782928d550e6fe0f5811b481a75 (patch)
treeda48a849b64f03944d3ab6988a9f820ec96f8c9b /client.c
parenta1cb652643685cfb976153f6d64aaaa65c682b25 (diff)
Retry properly when failed to connect.
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index 3e985b35..a4ba5601 100644
--- a/client.c
+++ b/client.c
@@ -1,4 +1,4 @@
-/* $Id: client.c,v 1.37 2009-01-11 00:48:42 nicm Exp $ */
+/* $Id: client.c,v 1.38 2009-01-15 00:21:24 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -82,7 +82,7 @@ retry:
if (server_start(path) != 0)
goto no_start;
}
- goto fail;
+ goto retry;
}
if ((mode = fcntl(cctx->srv_fd, F_GETFL)) == -1)