summaryrefslogtreecommitdiff
path: root/TAO/tests/ZIOP/Hello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/ZIOP/Hello.cpp')
-rw-r--r--TAO/tests/ZIOP/Hello.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/tests/ZIOP/Hello.cpp b/TAO/tests/ZIOP/Hello.cpp
index db7ffe13818..ab73744cbe1 100644
--- a/TAO/tests/ZIOP/Hello.cpp
+++ b/TAO/tests/ZIOP/Hello.cpp
@@ -27,6 +27,12 @@ Hello::get_big_reply ()
reply_mesg->length (this->length_);
+ for (unsigned int i = 0; i < this->length_; ++i)
+ {
+ int size = 128;
+ for (int ch = 0; ch < size && i < this->length_ - 1; ++ch)
+ reply_mesg[++i] = ACE_OS::rand() % size--;
+ }
return reply_mesg._retn ();
}