diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-05-18 03:36:15 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-05-18 03:36:15 +0000 |
commit | 17a96a41abc83b75d98234bc22ea9b400e47c72a (patch) | |
tree | a309264a10f4f4de8f3c2cb36d1277d59f8c0635 /ace/Acceptor.cpp | |
parent | 93cbe6e56fb7a63cd1487de8019955f96c780dad (diff) | |
download | ATCD-17a96a41abc83b75d98234bc22ea9b400e47c72a.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Acceptor.cpp')
-rw-r--r-- | ace/Acceptor.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ace/Acceptor.cpp b/ace/Acceptor.cpp index 298a32f64a9..da9806c9c43 100644 --- a/ace/Acceptor.cpp +++ b/ace/Acceptor.cpp @@ -245,13 +245,16 @@ ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::activate_svc_handler // Otherwise, make sure it's disabled by default. else if (svc_handler->peer ().disable (ACE_NONBLOCK) == -1) return -1; - else if (svc_handler->open ((void *) this) == -1) + + if (svc_handler->open ((void *) this) == -1) { svc_handler->close (0); return -1; } else return 0; + + return 0; } // Template Method that makes a SVC_HANDLER (using the appropriate |