[network] Fix typo in nsSocketTransport2.cpp

Follow-up to 7322bc0e9df42bd43d84ec9be22b00c47a09f3d7
This commit is contained in:
Moonchild 2022-04-09 00:33:41 +02:00 • committed by roytam1
commit 6b3ab70997

View file

@ -1321,7 +1321,7 @@ nsSocketTransport::InitiateSocket()
// if we already have a connected socket, then just attach and return. // if we already have a connected socket, then just attach and return.
// //
{ {
MutexAutoLock lock(mlock); MutexAutoLock lock(mLock);
if (mFD.IsInitialized()) { if (mFD.IsInitialized()) {
rv = mSocketTransportService->AttachSocket(mFD, this); rv = mSocketTransportService->AttachSocket(mFD, this);
if (NS_SUCCEEDED(rv)) if (NS_SUCCEEDED(rv))