natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
* java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
* java/net/natSocketImpl.cc (close): Likewise.
From-SVN: r52312
This commit is contained in:
committed by
Mark Wielaard
parent
ad8849afb5
commit
8be46a7d82
@@ -309,6 +309,7 @@ java::net::PlainDatagramSocketImpl::close ()
|
||||
// the return value.
|
||||
::close (fnum);
|
||||
fnum = -1;
|
||||
timeout = 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -428,6 +428,7 @@ java::net::PlainSocketImpl::close()
|
||||
}
|
||||
// Safe place to reset the file pointer.
|
||||
fnum = -1;
|
||||
timeout = 0;
|
||||
}
|
||||
|
||||
// Write a byte to the socket.
|
||||
|
||||
Reference in New Issue
Block a user