X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/04e42396542e4f8bf7cb553528cb426f5fa44206..c00fce3ab1dc8b810a439e81e419d7b8ae1d97b9:/server/speaker.c diff --git a/server/speaker.c b/server/speaker.c index aa09c02..70d2162 100644 --- a/server/speaker.c +++ b/server/speaker.c @@ -517,7 +517,7 @@ static void mainloop(void) { break; case SM_RELOAD: D(("SM_RELOAD")); - if(config_read()) error(0, "cannot read configuration"); + if(config_read(1)) error(0, "cannot read configuration"); info("reloaded configuration"); break; default: @@ -561,7 +561,7 @@ int main(int argc, char **argv) { openlog(progname, LOG_PID, LOG_DAEMON); log_default = &log_syslog; } - if(config_read()) fatal(0, "cannot read configuration"); + if(config_read(1)) fatal(0, "cannot read configuration"); bpf = bytes_per_frame(&config->sample_format); /* ignore SIGPIPE */ signal(SIGPIPE, SIG_IGN);