From: JinWang An Date: Thu, 25 Jun 2020 09:36:24 +0000 (+0900) Subject: Fix sst_vconf_get_int() X-Git-Tag: submit/tizen/20200625.094753^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f140a0ded63a1ce80551a258d146b3da39a47860;p=platform%2Fcore%2Fapi%2Fsystem-settings.git Fix sst_vconf_get_int() Change-Id: I8311d7adf2651a0a0ae386eaa7a6fa4bf3d56528 Signed-off-by: JinWang An --- diff --git a/src/sst_vconf.c b/src/sst_vconf.c index c9ca3ba..1d148ed 100644 --- a/src/sst_vconf.c +++ b/src/sst_vconf.c @@ -85,7 +85,7 @@ int sst_vconf_get_int(sst_interface *iface, int *val) return SYSTEM_SETTINGS_ERROR_IO_ERROR; } - *val = result ? true : false; + *val = result; return SYSTEM_SETTINGS_ERROR_NONE; } @@ -369,4 +369,4 @@ int sst_vconf_unsubscribe(sst_interface *iface, system_settings_cb_id id) } return _unsubscribe(iface->vconf_key, found, &sst_vconf_map_new, _callback_fn_new); -} \ No newline at end of file +}