mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 966627 - Fix typos in ARTSPConnection::receiveRTSPReponse/postReceiveReponseEvent. r=sworkman
This commit is contained in:
parent
8e7a6f5cf9
commit
13608c7c45
@ -314,7 +314,7 @@ void ARTSPConnection::onConnect(const sp<AMessage> &msg) {
|
||||
mState = CONNECTED;
|
||||
mNextCSeq = 1;
|
||||
|
||||
postReceiveReponseEvent();
|
||||
postReceiveResponseEvent();
|
||||
}
|
||||
|
||||
reply->post();
|
||||
@ -416,7 +416,7 @@ void ARTSPConnection::onCompleteConnection(const sp<AMessage> &msg) {
|
||||
mState = CONNECTED;
|
||||
mNextCSeq = 1;
|
||||
|
||||
postReceiveReponseEvent();
|
||||
postReceiveResponseEvent();
|
||||
}
|
||||
|
||||
reply->post();
|
||||
@ -511,7 +511,7 @@ void ARTSPConnection::onReceiveResponse() {
|
||||
if (res == 1) {
|
||||
MakeSocketBlocking(mSocket, true);
|
||||
|
||||
bool success = receiveRTSPReponse();
|
||||
bool success = receiveRTSPResponse();
|
||||
|
||||
MakeSocketBlocking(mSocket, false);
|
||||
|
||||
@ -522,7 +522,7 @@ void ARTSPConnection::onReceiveResponse() {
|
||||
}
|
||||
}
|
||||
|
||||
postReceiveReponseEvent();
|
||||
postReceiveResponseEvent();
|
||||
}
|
||||
|
||||
void ARTSPConnection::flushPendingRequests() {
|
||||
@ -536,7 +536,7 @@ void ARTSPConnection::flushPendingRequests() {
|
||||
mPendingRequests.clear();
|
||||
}
|
||||
|
||||
void ARTSPConnection::postReceiveReponseEvent() {
|
||||
void ARTSPConnection::postReceiveResponseEvent() {
|
||||
if (mReceiveResponseEventPending) {
|
||||
return;
|
||||
}
|
||||
@ -621,7 +621,7 @@ static bool IsRTSPVersion(const AString &s) {
|
||||
return s == "RTSP/1.0";
|
||||
}
|
||||
|
||||
bool ARTSPConnection::receiveRTSPReponse() {
|
||||
bool ARTSPConnection::receiveRTSPResponse() {
|
||||
AString statusLine;
|
||||
|
||||
if (!receiveLine(&statusLine)) {
|
||||
|
@ -102,10 +102,10 @@ private:
|
||||
void onReceiveResponse();
|
||||
|
||||
void flushPendingRequests();
|
||||
void postReceiveReponseEvent();
|
||||
void postReceiveResponseEvent();
|
||||
|
||||
// Return false iff something went unrecoverably wrong.
|
||||
bool receiveRTSPReponse();
|
||||
bool receiveRTSPResponse();
|
||||
status_t receive(void *data, size_t size);
|
||||
bool receiveLine(AString *line);
|
||||
sp<ABuffer> receiveBinaryData();
|
||||
|
Loading…
Reference in New Issue
Block a user