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:
Mark Wielaard 2002-04-15 03:21:00 +00:00 committed by Mark Wielaard
parent ad8849afb5
commit 8be46a7d82
3 changed files with 7 additions and 0 deletions

View file

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