summaryrefslogtreecommitdiff
path: root/tests/Cached_Accept_Conn_Test.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-17 00:55:40 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-17 00:55:40 +0000
commit57e7bb8cabca09ce60a205b4fdcccae61223be89 (patch)
treea8f615b49f8a0a12966b5728d291fd0ef9c3c6ed /tests/Cached_Accept_Conn_Test.cpp
parentdf682eb093a887c63b2ac631a1fa1751230b084b (diff)
downloadATCD-57e7bb8cabca09ce60a205b4fdcccae61223be89.tar.gz
ChangeLogTag:Fri Jul 16 19:41:05 1999 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'tests/Cached_Accept_Conn_Test.cpp')
-rw-r--r--tests/Cached_Accept_Conn_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Cached_Accept_Conn_Test.cpp b/tests/Cached_Accept_Conn_Test.cpp
index 4257b0afb5a..e6cc6c2a716 100644
--- a/tests/Cached_Accept_Conn_Test.cpp
+++ b/tests/Cached_Accept_Conn_Test.cpp
@@ -289,7 +289,7 @@ Accept_Strategy<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::out_of_sockets_handler (void)
{
// ENOBUFS had to be checked on NT while ENOENT check had to be
// added for Solaris + Linux.
- if (errno == EMFILE || errno == ENOBUFS || errno == ENOENT)
+ if (ACE::out_of_file_descriptors (errno))
{
// Close connections which are cached by explicitly purging the
// connection cache maintained by the connector.