X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/0c4101ecabe0fafc07524c77958b71de3e054e98..02ba7921a8b083f421a747b89c65a87d0afd5841:/server/speaker.c 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 */