summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-09-02 06:05:18 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-09-02 06:05:18 +0000
commit91a7f10c864097dd3e04c348dde8341c42415c42 (patch)
tree4982af12ea54fa26be15aa87f8746e2a87bde0d1 /tests
parent1019d245ef34e499298d378638bedc4b37ff515c (diff)
downloadATCD-91a7f10c864097dd3e04c348dde8341c42415c42.tar.gz
*** empty log message ***
Diffstat (limited to 'tests')
-rw-r--r--tests/IOStream_Test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/IOStream_Test.cpp b/tests/IOStream_Test.cpp
index 764643cf328..6229c066f5e 100644
--- a/tests/IOStream_Test.cpp
+++ b/tests/IOStream_Test.cpp
@@ -155,10 +155,10 @@ client (void *arg = 0)
ACE_UNUSED_ARG (arg);
// We don't _need_ to dynamically allocate the ACE_SOCK_IOStream.
- // But if we don't, it doesn't get destroyed on some platforms, e.g.,
- // g++ 2.7.2.1 and Sun C++ 4.2 on Solaris 2.5.1. (It does work on
- // Linux, so the code seems fine.) If we manage the
- // storage ourselves, we _will_ destroy it at the end of this function.
+ // But if we don't, it doesn't get destroyed on some platforms,
+ // e.g., g++ 2.7.2.1 and Sun C++ 4.2 on Solaris 2.5.1. (It does
+ // work on Linux, so the code seems fine.) If we manage the storage
+ // ourselves, we _will_ destroy it at the end of this function.
ACE_SOCK_IOStream *server_p;
ACE_NEW_RETURN (server_p, ACE_SOCK_IOStream, 0);
ACE_SOCK_IOStream &server = *server_p;
@@ -230,7 +230,7 @@ client (void *arg = 0)
server << endl;
// Shut down the test.
- server.close();
+ server.close ();
delete server_p;