Browse Source

Check for redirecturls in redirector mode

master
Con Kolivas 9 years ago
parent
commit
47d30b8843
  1. 2
      src/ckpool.c

2
src/ckpool.c

@ -1757,6 +1757,8 @@ int main(int argc, char **argv)
ckp.serverurl = ckzalloc(sizeof(char *)); ckp.serverurl = ckzalloc(sizeof(char *));
if (ckp.proxy && !ckp.proxies) if (ckp.proxy && !ckp.proxies)
quit(0, "No proxy entries found in config file %s", ckp.config); quit(0, "No proxy entries found in config file %s", ckp.config);
if (ckp.redirector && !ckp.redirecturls)
quit(0, "No redirect entries found in config file %s", ckp.config);
/* Create the log directory */ /* Create the log directory */
trail_slash(&ckp.logdir); trail_slash(&ckp.logdir);

Loading…
Cancel
Save