From 57e12ce4c38bccf9aa47ce2b9d1d7ac57d1e5d65 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolas=20Zingil=C3=A9?= Date: Mon, 24 Feb 2014 11:00:14 +0100 Subject: [PATCH] Enable build with iniparser v 3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Bug-Tizen: PTREL-101 Change-Id: I86db5fcfe772ef0037730c22f3559cf67ef38c46 Signed-off-by: Nicolas Zingilé --- avsys-audio-logical-volume.c | 4 ++-- 1 file 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) { -- 2.34.1