From 1a3ed51ba962302fa1ad613b847b390d932ccf01 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 5 Feb 2015 11:29:58 +1100 Subject: [PATCH] Fix workings when no serverurl is explicitly specified in config --- src/connector.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/connector.c b/src/connector.c index 1243bace..950dd26c 100644 --- a/src/connector.c +++ b/src/connector.c @@ -895,6 +895,7 @@ int connector(proc_instance_t *pi) goto out; } cdata->serverfd[0] = sockd; + ckp->serverurls = 1; } else { for (i = 0; i < ckp->serverurls; i++) { char oldurl[INET6_ADDRSTRLEN], oldport[8];