Browse Source

Generator loop should never return

master
Con Kolivas 9 years ago
parent
commit
fd680659ee
  1. 4
      src/generator.c

4
src/generator.c

@ -2928,6 +2928,8 @@ void *generator(void *arg)
proxy_mode(ckp, pi);
} else
server_mode(ckp, pi);
dealloc(ckp->gdata);
/* We should never get here unless there's a fatal error */
LOGEMERG("Generator failure, shutting down");
exit(1);
return NULL;
}

Loading…
Cancel
Save