Commit a1ff4c64 by Michael Koch Committed by Michael Koch

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
parent 50abb28b
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.
2003-11-30 Jeff Sturm <jsturm@one-point.com> 2003-11-30 Jeff Sturm <jsturm@one-point.com>
* java/net/InetAddress.java: * java/net/InetAddress.java:
......
...@@ -117,7 +117,6 @@ gnu::java::net::PlainSocketImpl::bind (::java::net::InetAddress *host, jint lpor ...@@ -117,7 +117,6 @@ gnu::java::net::PlainSocketImpl::bind (::java::net::InetAddress *host, jint lpor
if (_Jv_bind (native_fd, ptr, len) == 0) if (_Jv_bind (native_fd, ptr, len) == 0)
{ {
address = host;
socklen_t addrlen = sizeof(u); socklen_t addrlen = sizeof(u);
if (lport != 0) if (lport != 0)
......
...@@ -97,7 +97,6 @@ gnu::java::net::PlainSocketImpl::bind (::java::net::InetAddress *host, jint lpor ...@@ -97,7 +97,6 @@ gnu::java::net::PlainSocketImpl::bind (::java::net::InetAddress *host, jint lpor
if (::bind (native_fd, ptr, len) != SOCKET_ERROR) if (::bind (native_fd, ptr, len) != SOCKET_ERROR)
{ {
address = host;
socklen_t addrlen = sizeof(u); socklen_t addrlen = sizeof(u);
if (lport != 0) if (lport != 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment