summaryrefslogtreecommitdiff
path: root/avsys-audio-logical-volume.c
diff options
context:
space:
mode:
authorNicolas Zingilé <nicolas.zingile@open.eurogiciel.org>2014-02-24 11:00:14 +0100
committerNicolas Zingilé <nicolas.zingile@open.eurogiciel.org>2014-02-24 11:00:24 +0100
commit57e12ce4c38bccf9aa47ce2b9d1d7ac57d1e5d65 (patch)
tree57624d05d00c776a4338490b621f2b1b03332550 /avsys-audio-logical-volume.c
parent7d9a17b6aa1fd2763c57529d7d7a729283852419 (diff)
downloadavsystem-57e12ce4c38bccf9aa47ce2b9d1d7ac57d1e5d65.tar.gz
avsystem-57e12ce4c38bccf9aa47ce2b9d1d7ac57d1e5d65.tar.bz2
avsystem-57e12ce4c38bccf9aa47ce2b9d1d7ac57d1e5d65.zip
Bug-Tizen: PTREL-101 Change-Id: I86db5fcfe772ef0037730c22f3559cf67ef38c46 Signed-off-by: Nicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
Diffstat (limited to 'avsys-audio-logical-volume.c')
-rw-r--r--avsys-audio-logical-volume.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/avsys-audio-logical-volume.c b/avsys-audio-logical-volume.c
index bf4861e..746208f 100644
--- a/avsys-audio-logical-volume.c
+++ b/avsys-audio-logical-volume.c
@@ -408,7 +408,7 @@ int avsys_audio_load_volume_from_ini(void)
key = malloc(strlen(dev_str[dev_idx]) + strlen(vol_type_str[vol_type_idx]) + 2);
if (key) {
sprintf(key, "%s:%s", dev_str[dev_idx], vol_type_str[vol_type_idx]);
- list_str = iniparser_getstr(dict, key);
+ list_str = iniparser_getstring(dict, key, NULL);
if (list_str) {
token = strtok_r(list_str, delimiter, &ptr);
while (token) {
@@ -425,7 +425,7 @@ int avsys_audio_load_volume_from_ini(void)
key = malloc(strlen(dev_str[dev_idx]) + strlen("gain") + 2);
if (key) {
sprintf(key, "%s:gain", dev_str[dev_idx]);
- list_str = iniparser_getstr(dict, key);
+ list_str = iniparser_getstring(dict, key, NULL);
if (list_str) {
token = strtok_r(list_str, delimiter, &ptr);
while (token) {