chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do some basic compatibility checking when installing a new server
[disorder]
/
server
/
speaker.c
diff --git
a/server/speaker.c
b/server/speaker.c
index b41c94f844d8f9cee721c6d959c174ddc09ddda5..adda2eb5030b604debd9524029aff5901003591b 100644
(file)
--- a/
server/speaker.c
+++ b/
server/speaker.c
@@
-608,7
+608,7
@@
static void mainloop(void) {
break;
case SM_RELOAD:
D(("SM_RELOAD"));
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;
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;
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 */
/* ignore SIGPIPE */
signal(SIGPIPE, SIG_IGN);
/* set nice value */