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:
vikasmarwaha@google.com
2011-07-29 22:29:15 +00:00
parent dbc9d5c5f1
commit 210d9fa08b

View File

@ -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,