X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=audioc.c;h=42372caea04d0ad155d29d81523c967da4257e4c;hp=e20e887eda56a79969113a875468ea25696ea3ab;hb=7d72e74cc110e217324cea108ac97b0d59b44b0a;hpb=e373f7da2c890a1af8f46d444057609b15f3d248 diff --git a/audioc.c b/audioc.c index e20e887e..42372cae 100644 --- a/audioc.c +++ b/audioc.c @@ -75,7 +75,13 @@ int main(int argc, char *argv[]) HANDLE_VERSION_FLAG("audioc", conf); cf = configfile_exists(); if (cf) { - if (audioc_cmdline_parser_configfile(cf, &conf, 0, 0, 0)) { + struct audioc_cmdline_parser_params params = { + .override = 0, + .initialize = 0, + .check_required = 0, + .check_ambiguity = 0 + }; + if (audioc_cmdline_parser_config_file(cf, &conf, ¶ms)) { fprintf(stderr, "parse error in config file\n"); exit(EXIT_FAILURE); } @@ -97,7 +103,7 @@ int main(int argc, char *argv[]) tmpsocket_name = make_message("%s/.paraslash/audioc_sock.%s.%s", home, hn, randname); - ret = create_pf_socket(tmpsocket_name, &unix_addr, S_IRUSR | S_IWUSR); + ret = create_local_socket(tmpsocket_name, &unix_addr, S_IRUSR | S_IWUSR); unlink(tmpsocket_name); if (ret < 0) goto out;