diff options
author | Marc Laukien <marc@zeroc.com> | 2002-03-14 20:14:23 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-03-14 20:14:23 +0000 |
commit | 6381bda7e291f33ae52d71420de6b1758f3c283f (patch) | |
tree | 0b64c9c1e80e30d9847488f7474af0754a71421f /cpp/src/Ice/BasicStream.cpp | |
parent | Style snafu. (diff) | |
download | ice-6381bda7e291f33ae52d71420de6b1758f3c283f.tar.bz2 ice-6381bda7e291f33ae52d71420de6b1758f3c283f.tar.xz ice-6381bda7e291f33ae52d71420de6b1758f3c283f.zip |
proxy lookup fix
Diffstat (limited to 'cpp/src/Ice/BasicStream.cpp')
-rw-r--r-- | cpp/src/Ice/BasicStream.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/BasicStream.cpp b/cpp/src/Ice/BasicStream.cpp index 2c403c7d3c4..205d7ce1854 100644 --- a/cpp/src/Ice/BasicStream.cpp +++ b/cpp/src/Ice/BasicStream.cpp @@ -193,9 +193,9 @@ IceInternal::BasicStream::skipEncaps() void IceInternal::BasicStream::writeSize(Int v) { - if (v > 0x7f) + if (v > 127) { - write(Byte(0xff)); + write(Byte(-1)); write(v); } else @@ -209,7 +209,7 @@ IceInternal::BasicStream::readSize(Ice::Int& v) { Byte b; read(b); - if (b > Byte(0x7f)) + if (b < 0) { read(v); } |