debug_fenter();
- if ((ret = mm_sound_dbus_get_event_name(event, &event_name) != MM_ERROR_NONE)) {
+ if ((ret = mm_sound_dbus_get_event_name(event, &event_name)) != MM_ERROR_NONE) {
debug_error("Failed to get event name");
return MM_ERROR_SOUND_INTERNAL;
}
debug_fenter();
- if ((ret = mm_sound_dbus_get_event_name(event, &event_name) != MM_ERROR_NONE)) {
+ if ((ret = mm_sound_dbus_get_event_name(event, &event_name)) != MM_ERROR_NONE) {
debug_error("Failed to get event name");
return MM_ERROR_SOUND_INTERNAL;
}