*state = MMWFDSINK_CURRENT_STATE(wfd_sink);
wfd_sink_debug("mm_wfd_sink_get_current_state [%d] ", *state);
- if (*state < MM_WFD_SINK_STATE_NONE || *state >= MM_WFD_SINK_STATE_NUM){
- wfd_sink_error("Wrong state is returned. State [%d]",*state);
+ if (*state < MM_WFD_SINK_STATE_NONE || *state >= MM_WFD_SINK_STATE_NUM) {
+ wfd_sink_error("Wrong state is returned. State [%d]", *state);
result = MM_ERROR_WFD_INVALID_STATE;
} else {
result = MM_ERROR_NONE;
wfd_sink_debug_fleave();
return result;
-}
\ No newline at end of file
+}