summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-12-20 00:59:29 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-12-20 00:59:29 +0000
commit84e260775b53e02c223e829577a4509056f1f230 (patch)
tree1db0bab235aec5955a11712d11ea7928008e7f8b
parente53030f772116b3383c5c3524f7c599aec1636f9 (diff)
downloadATCD-84e260775b53e02c223e829577a4509056f1f230.tar.gz
!
! '
-rw-r--r--tests/IOStream_Test.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/IOStream_Test.cpp b/tests/IOStream_Test.cpp
index c496e4e2a97..be6a8f0a235 100644
--- a/tests/IOStream_Test.cpp
+++ b/tests/IOStream_Test.cpp
@@ -209,21 +209,22 @@ client (void *arg = 0)
long l;
double d;
- while( !(server >> i) )
+ while (!(server >> i))
{
- int eof = server.eof();
- if( eof )
+ int eof = server.eof ();
+ if (eof)
{
- ACE_DEBUG((LM_DEBUG, "(%P|%t) Unrecoverable stream error/eof\n" ));
+ ACE_DEBUG ((LM_DEBUG, "(%P|%t) Unrecoverable stream error/eof\n"));
break;
}
else
{
- ACE_DEBUG((LM_DEBUG, "(%P|%t) Recoverable stream error (timeout)\n" ));
- server.clear(0);
+ ACE_DEBUG ((LM_DEBUG, "(%P|%t) Recoverable stream error (timeout)\n"));
+ server.clear (0);
}
}
+ server >> i;
server >> f1;
server >> l;
server >> f2;
@@ -332,7 +333,7 @@ server (void *arg = 0)
}
ACE_DEBUG ((LM_DEBUG, ")\n"));
-#endif
+#endif /* ACE_HAS_STRING_CLASS */
// Send some non-textual data to the client. We use a single
// character to separate the fields but we could have used any valid
@@ -340,9 +341,8 @@ server (void *arg = 0)
// filled or when we flush it with an explicit client.sync() command
// or the implicit <<endl.
-
- ACE_DEBUG ((LM_DEBUG, "(%P|%t) Server sleeping\n" ));
- ACE_OS::sleep(30);
+ ACE_DEBUG ((LM_DEBUG, "(%P|%t) Server sleeping\n"));
+ ACE_OS::sleep (30);
ACE_DEBUG ((LM_DEBUG, "(%P|%t) Server Sending: 1 .12342134 666555444 23.45 -46.5e9 \n"));
client_handler << 1 << " ";