diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-02-05 04:11:26 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-02-05 04:11:26 +0100 |
commit | d6201cfc3ac2c16a4a0fc942be31ce753b9770bd (patch) | |
tree | dd0646f7eb0e949d930a2d3c5cfa49b237853ee2 /src/pulse/client-conf.c | |
parent | ee5abc3d64a1270b641f0cdbf1fdbb2ccd5e1c05 (diff) | |
download | pulseaudio-d6201cfc3ac2c16a4a0fc942be31ce753b9770bd.tar.gz |
parse ini-style sections properly
Diffstat (limited to 'src/pulse/client-conf.c')
-rw-r--r-- | src/pulse/client-conf.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/pulse/client-conf.c b/src/pulse/client-conf.c index 58d64642a..71f8443d6 100644 --- a/src/pulse/client-conf.c +++ b/src/pulse/client-conf.c @@ -92,16 +92,16 @@ int pa_client_conf_load(pa_client_conf *c, const char *filename) { /* Prepare the configuration parse table */ pa_config_item table[] = { - { "daemon-binary", pa_config_parse_string, NULL }, - { "extra-arguments", pa_config_parse_string, NULL }, - { "default-sink", pa_config_parse_string, NULL }, - { "default-source", pa_config_parse_string, NULL }, - { "default-server", pa_config_parse_string, NULL }, - { "autospawn", pa_config_parse_bool, NULL }, - { "cookie-file", pa_config_parse_string, NULL }, - { "disable-shm", pa_config_parse_bool, NULL }, - { "shm-size-bytes", pa_config_parse_size, NULL }, - { NULL, NULL, NULL }, + { "daemon-binary", pa_config_parse_string, NULL, NULL }, + { "extra-arguments", pa_config_parse_string, NULL, NULL }, + { "default-sink", pa_config_parse_string, NULL, NULL }, + { "default-source", pa_config_parse_string, NULL, NULL }, + { "default-server", pa_config_parse_string, NULL, NULL }, + { "autospawn", pa_config_parse_bool, NULL, NULL }, + { "cookie-file", pa_config_parse_string, NULL, NULL }, + { "disable-shm", pa_config_parse_bool, NULL, NULL }, + { "shm-size-bytes", pa_config_parse_size, NULL, NULL }, + { NULL, NULL, NULL, NULL }, }; table[0].data = &c->daemon_binary; |