summaryrefslogtreecommitdiff
path: root/tests/IOStream_Test.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-08-31 21:41:20 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-08-31 21:41:20 +0000
commite050feb447359fd460519c4c3df0e1f52d5da369 (patch)
tree4d79428f1415afd8f3aaa5db7392e9ef6966355e /tests/IOStream_Test.cpp
parent44deecaf3cc49ab1a3ea1b532f81f4bebb4eb403 (diff)
downloadATCD-e050feb447359fd460519c4c3df0e1f52d5da369.tar.gz
*** empty log message ***
Diffstat (limited to 'tests/IOStream_Test.cpp')
-rw-r--r--tests/IOStream_Test.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/IOStream_Test.cpp b/tests/IOStream_Test.cpp
index a6d9c5bacdf..45ff4c83ace 100644
--- a/tests/IOStream_Test.cpp
+++ b/tests/IOStream_Test.cpp
@@ -112,11 +112,19 @@ operator>> (ACE_SOCK_IOStream & stream, qchar *buf)
// if we don't have a quote, append until we see space
if (c != '"')
for (*buf++ = c;
+#ifdef CHORUS
+ stream.get(c) && !isspace(c);
+#else
(void *) stream.get(c) && !isspace(c);
+#endif
*buf++ = c)
continue;
else
+#ifdef CHORUS
+ for (; stream.get(c) && c != '"'; *buf++ = c)
+#else
for (; (void *) stream.get(c) && c != '"'; *buf++ = c)
+#endif
if (c == '\\')
{
stream.get(c);