Enable build with iniparser v 3.1 31/16731/1 accepted/tizen/mobile tizen accepted/tizen/mobile/20140225.082000 submit/tizen/20140225.081353
authorNicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
Mon, 24 Feb 2014 10:09:23 +0000 (11:09 +0100)
committerNicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
Mon, 24 Feb 2014 10:09:39 +0000 (11:09 +0100)
Bug-Tizen: PTREL-101
Change-Id: I0cacc3efe48a472dfcf58fdf60ec02e133650c89
Signed-off-by: Nicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
src/myaccount_ug_addaccount.c

index 57b903c..11f4df8 100755 (executable)
@@ -424,7 +424,7 @@ static bool _myaccount_addaccount_get_csc_sp_list(GList** sp_info_list)
                char buf[256] = {0,};
                sp_info = _myaccount_addaccount_create_priv_item();
                MA_SNPRINTF(buf,sizeof(buf),"%s%d", TIZEN_EMAIL_CSC_SP_NAME_PREFIX, i);
-               sp_name = iniparser_getstr(dic, buf);
+               sp_name = iniparser_getstring(dic, buf, NULL);
                MYACCOUNT_DBUG("key (%s), sp_name (%s)\n", buf, sp_name);
                MA_STRNCPY(sp_info->service_name, sp_name,
                                                        sizeof(sp_info->service_name));