diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-15 00:21:24 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-15 00:21:24 +0000 |
commit | 668dac5b1230e782928d550e6fe0f5811b481a75 (patch) | |
tree | da48a849b64f03944d3ab6988a9f820ec96f8c9b /client.c | |
parent | a1cb652643685cfb976153f6d64aaaa65c682b25 (diff) |
Retry properly when failed to connect.
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |