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];