Browse Source

Fix workings when no serverurl is explicitly specified in config

master
Con Kolivas 10 years ago
parent
commit
1a3ed51ba9
  1. 1
      src/connector.c

1
src/connector.c

@ -895,6 +895,7 @@ int connector(proc_instance_t *pi)
goto out; goto out;
} }
cdata->serverfd[0] = sockd; cdata->serverfd[0] = sockd;
ckp->serverurls = 1;
} else { } else {
for (i = 0; i < ckp->serverurls; i++) { for (i = 0; i < ckp->serverurls; i++) {
char oldurl[INET6_ADDRSTRLEN], oldport[8]; char oldurl[INET6_ADDRSTRLEN], oldport[8];

Loading…
Cancel
Save