natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
* java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0. * java/net/natSocketImpl.cc (close): Likewise. From-SVN: r52313
This commit is contained in:
parent
846b514743
commit
8a93a2ec22
|
@ -1,3 +1,8 @@
|
|||
2002-04-14 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
|
||||
* java/net/natSocketImpl.cc (close): Likewise.
|
||||
|
||||
2002-04-14 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue