summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
56342f8)
Change-Id: I70a218c917d30deda3c1706c672d13b0d586f46e
Signed-off-by: Sangkoo Kim <sangkoo.kim@samsung.com>
"INCOMING_MSG_ERROR", //10
"FILE_OPERATION_ERROR",
"INCOMING_MSG_ERROR", //10
"FILE_OPERATION_ERROR",
msg_error_t retVal = MSG_SUCCESS;
int param = 0;
msg_error_t retVal = MSG_SUCCESS;
int param = 0;
- if (vconf_get_int(pKey, ¶m) < 0) {
+ if (vconf_get_int(pKey, ¶m) != 0) {
int vconf_err = vconf_get_ext_errno();
MSG_DEBUG("Fail to vconf_get_int with [%s], err=[%d]", pKey, vconf_err);
if (vconf_err == VCONF_ERROR_FILE_PERM)
int vconf_err = vconf_get_ext_errno();
MSG_DEBUG("Fail to vconf_get_int with [%s], err=[%d]", pKey, vconf_err);
if (vconf_err == VCONF_ERROR_FILE_PERM)
msg_error_t retVal = MSG_SUCCESS;
int param = 0;
msg_error_t retVal = MSG_SUCCESS;
int param = 0;
- if (vconf_get_bool(pKey, ¶m) < 0) {
+ if (vconf_get_bool(pKey, ¶m) != 0) {
int vconf_err = vconf_get_ext_errno();
MSG_DEBUG("Fail to vconf_get_bool with [%s], err=[%d]", pKey, vconf_err);
if (vconf_err == VCONF_ERROR_FILE_PERM)
int vconf_err = vconf_get_ext_errno();
MSG_DEBUG("Fail to vconf_get_bool with [%s], err=[%d]", pKey, vconf_err);
if (vconf_err == VCONF_ERROR_FILE_PERM)
{
msg_error_t err = MSG_SUCCESS;
{
msg_error_t err = MSG_SUCCESS;
- if (vconf_notify_key_changed(pKey, pCb, NULL) < 0) {
+ if (vconf_notify_key_changed(pKey, pCb, NULL) != 0) {
int vconf_err = vconf_get_ext_errno();
int vconf_err = vconf_get_ext_errno();
- MSG_DEBUG("Fail to regist vconf CB with [%s], err=[%d]", pKey, vconf_err);
+ MSG_DEBUG("Fail to vconf_notify_key_changed with [%s], err=[%d]", pKey, vconf_err);
if (vconf_err == VCONF_ERROR_FILE_PERM)
err = MSG_ERR_PERMISSION_DENIED;
else
if (vconf_err == VCONF_ERROR_FILE_PERM)
err = MSG_ERR_PERMISSION_DENIED;
else
{
msg_error_t err = MSG_SUCCESS;
{
msg_error_t err = MSG_SUCCESS;
- if (vconf_ignore_key_changed(pKey, pCb) < 0) {
+ if (vconf_ignore_key_changed(pKey, pCb) != 0) {
int vconf_err = vconf_get_ext_errno();
int vconf_err = vconf_get_ext_errno();
- MSG_DEBUG("Fail to remove vconf CB with [%s], err=[%d]", pKey, vconf_err);
+ MSG_DEBUG("Fail to vconf_ignore_key_changed [%s], err=[%d]", pKey, vconf_err);
if (vconf_err == VCONF_ERROR_FILE_PERM)
err = MSG_ERR_PERMISSION_DENIED;
else
if (vconf_err == VCONF_ERROR_FILE_PERM)
err = MSG_ERR_PERMISSION_DENIED;
else