diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-17 00:55:40 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-17 00:55:40 +0000 |
commit | a63b47ad25895e835de824d486154b530ce44679 (patch) | |
tree | a8f615b49f8a0a12966b5728d291fd0ef9c3c6ed /tests | |
parent | 1de5f9a29dc1d8465108b1ced4b09de35f2cf807 (diff) | |
download | ATCD-a63b47ad25895e835de824d486154b530ce44679.tar.gz |
ChangeLogTag:Fri Jul 16 19:41:05 1999 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Cached_Accept_Conn_Test.cpp | 2 | ||||
-rw-r--r-- | tests/Cached_Conn_Test.cpp | 2 |
2 files changed, 2 insertions, 2 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. diff --git a/tests/Cached_Conn_Test.cpp b/tests/Cached_Conn_Test.cpp index d67e3f11400..59d47b71e7c 100644 --- a/tests/Cached_Conn_Test.cpp +++ b/tests/Cached_Conn_Test.cpp @@ -176,7 +176,7 @@ 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. |