natPlainSocketImplPosix.cc bind (): Dont set SockedImpl.address field on succesful bind.

2003-12-01  Michael Koch  <konqueror@gmx.de>

	* gnu/java/net/natPlainSocketImplPosix.cc
	bind(): Dont set SockedImpl.address field on succesful bind.
	* gnu/java/net/natPlainSocketImplWin32.cc
	bind(): Likewise.

From-SVN: r74102
This commit is contained in:
Michael Koch
2003-12-01 14:32:26 +00:00
committed by Michael Koch
parent 50abb28b64
commit a1ff4c6478
3 changed files with 7 additions and 2 deletions
@@ -117,7 +117,6 @@ gnu::java::net::PlainSocketImpl::bind (::java::net::InetAddress *host, jint lpor
if (_Jv_bind (native_fd, ptr, len) == 0)
{
address = host;
socklen_t addrlen = sizeof(u);
if (lport != 0)