diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-04-24 12:07:03 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-04-24 12:07:03 +0000 |
commit | f8dcf4e4599010b99d990be97a0c73e68dcde5b3 (patch) | |
tree | 027936a503729e70dc61a34d8c6b32ccd8fac8f6 /TAO/tests/Compression | |
parent | a23ca2019841e719d5f7c69093184342c6efde98 (diff) | |
download | ATCD-f8dcf4e4599010b99d990be97a0c73e68dcde5b3.tar.gz |
Tue Apr 24 12:06:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/Compression')
-rw-r--r-- | TAO/tests/Compression/server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tests/Compression/server.cpp b/TAO/tests/Compression/server.cpp index ee708063a95..9d88caf18a7 100644 --- a/TAO/tests/Compression/server.cpp +++ b/TAO/tests/Compression/server.cpp @@ -140,10 +140,10 @@ main (int argc, char *argv[]) mytest[j] = 'a'; } - Compression::Compressor_var compressor = manager->get_compressor (4, 6); + Compression::Compressor_var compressor = manager->get_compressor (::Compression::ZLIB, 6); CORBA::OctetSeq myout; - myout.length (1300); + myout.length ((CORBA::ULong)(mytest.length() * 1.1)); compressor->compress (mytest, myout); |