android, sendrecv: add missing break in switch case statements

This commit is contained in:
Costa Shulyupin 2020-04-14 20:13:56 +03:00 committed by Mathieu Duponchelle
parent 2557eab9d5
commit 133a1593ee
2 changed files with 2 additions and 0 deletions

View file

@ -498,6 +498,7 @@ on_server_message (SoupWebsocketConnection * conn, SoupWebsocketDataType type,
case PEER_CONNECTED:
case PEER_CALL_NEGOTIATING:
webrtc->app_state = PEER_CALL_ERROR;
break;
default:
webrtc->app_state = APP_STATE_ERROR;
}

View file

@ -602,6 +602,7 @@ on_server_message (SoupWebsocketConnection * conn, SoupWebsocketDataType type,
case PEER_CONNECTED:
case PEER_CALL_NEGOTIATING:
app_state = PEER_CALL_ERROR;
break;
default:
app_state = APP_STATE_ERROR;
}