Change-Id: I051aeaa8326fe6692e86f250bed8a9d0d83fbf37
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
dbus_error_free(&err);
} else {
SLOG(LOG_DEBUG, TAG_VCD, "[IN] vcd dialog : pid(%d)", pid);
- vcd_server_is_system_command_valid(pid, &is_sys_cmd_valid);
+ ret = vcd_server_is_system_command_valid(pid, &is_sys_cmd_valid);
}
DBusMessage* reply;
if (NULL != reply) {
dbus_message_append_args(reply,
DBUS_TYPE_INT32, &ret,
- DBUS_TYPE_STRING, &is_sys_cmd_valid,
+ DBUS_TYPE_INT32, &is_sys_cmd_valid,
DBUS_TYPE_INVALID);
if (0 == ret) {