Fix sst_vconf_get_int() 73/237073/1 accepted/tizen/unified/20200626.133538 submit/tizen/20200625.094753
authorJinWang An <jinwang.an@samsung.com>
Thu, 25 Jun 2020 09:36:24 +0000 (18:36 +0900)
committerJinWang An <jinwang.an@samsung.com>
Thu, 25 Jun 2020 09:36:24 +0000 (18:36 +0900)
Change-Id: I8311d7adf2651a0a0ae386eaa7a6fa4bf3d56528
Signed-off-by: JinWang An <jinwang.an@samsung.com>
src/sst_vconf.c

index c9ca3ba..1d148ed 100644 (file)
@@ -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
+}