X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/985bb670b4e07d35cb1580780253ded2524a342e..74f77840c54d893a70142b0c846005d9e982e4fc:/server/speaker.c?ds=sidebyside diff --git a/server/speaker.c b/server/speaker.c index b41c94f..adda2eb 100644 --- a/server/speaker.c +++ b/server/speaker.c @@ -608,7 +608,7 @@ static void mainloop(void) { break; case SM_RELOAD: D(("SM_RELOAD")); - if(config_read(1)) + if(config_read(1, NULL)) error(0, "cannot read configuration"); info("reloaded configuration"); break; @@ -707,7 +707,7 @@ int main(int argc, char **argv) { log_default = &log_syslog; } config_uaudio_apis = uaudio_apis; - if(config_read(1)) fatal(0, "cannot read configuration"); + if(config_read(1, NULL)) fatal(0, "cannot read configuration"); /* ignore SIGPIPE */ signal(SIGPIPE, SIG_IGN); /* set nice value */