From 668dac5b1230e782928d550e6fe0f5811b481a75 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 15 Jan 2009 00:21:24 +0000 Subject: Retry properly when failed to connect. --- client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client.c') 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 @@ -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) -- cgit