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:
parent
50abb28b64
commit
a1ff4c6478
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
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>
|
||||
|
||||
* java/net/InetAddress.java:
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -97,7 +97,6 @@ gnu::java::net::PlainSocketImpl::bind (::java::net::InetAddress *host, jint lpor
|
|||
|
||||
if (::bind (native_fd, ptr, len) != SOCKET_ERROR)
|
||||
{
|
||||
address = host;
|
||||
socklen_t addrlen = sizeof(u);
|
||||
|
||||
if (lport != 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue