incorrect return value after bind failure
Review URL: http://webrtc-codereview.appspot.com/97001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@276 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -343,7 +343,7 @@ bool UdpSocket2Windows::Bind(const SocketAddress& name)
|
|||||||
returnValue = false;
|
returnValue = false;
|
||||||
}
|
}
|
||||||
ReleaseSocket();
|
ReleaseSocket();
|
||||||
return true;
|
return returnValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
WebRtc_Word32 UdpSocket2Windows::SendTo(const WebRtc_Word8* buf,
|
WebRtc_Word32 UdpSocket2Windows::SendTo(const WebRtc_Word8* buf,
|
||||||
|
Reference in New Issue
Block a user