summaryrefslogtreecommitdiff
path: root/examples/Connection/misc
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-04-12 17:27:41 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-04-12 17:27:41 +0000
commit81621b44f76b50b384bb6077bea875736ac717c7 (patch)
treeb3b61906eab3ef2b9e7d45efd384c8efd1e6bbaf /examples/Connection/misc
parent34a3feda5659650bae849b2dabb5280a6a7e8313 (diff)
downloadATCD-81621b44f76b50b384bb6077bea875736ac717c7.tar.gz
*** empty log message ***
Diffstat (limited to 'examples/Connection/misc')
-rw-r--r--examples/Connection/misc/test_upipe.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/Connection/misc/test_upipe.cpp b/examples/Connection/misc/test_upipe.cpp
index eb8ca0431b8..eeaffddd864 100644
--- a/examples/Connection/misc/test_upipe.cpp
+++ b/examples/Connection/misc/test_upipe.cpp
@@ -140,7 +140,11 @@ public:
ACE_UPIPE_Addr remote_addr (r_addr);
- return this->connect (new Client_Service (this->thr_mgr_), remote_addr);
+ Client_Service *cs;
+
+ ACE_NEW_RETURN (cs, Client_Service (this->thr_mgr_), -1);
+
+ return this->connect (cs, remote_addr);
}
private: