summaryrefslogtreecommitdiff
path: root/TAO/tao
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-06-06 19:01:25 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-06-06 19:01:25 +0000
commitc3306d14d92cc365f1609a740fb7a57e6478ec53 (patch)
treed828da2deaf549a16ed9d40ee7df0a87f1fa133d /TAO/tao
parent5511ab0ddf69b2cf2b1194b1dd5e74705f79560f (diff)
downloadATCD-c3306d14d92cc365f1609a740fb7a57e6478ec53.tar.gz
.
Diffstat (limited to 'TAO/tao')
-rw-r--r--TAO/tao/GIOP.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/TAO/tao/GIOP.cpp b/TAO/tao/GIOP.cpp
index d3d1bc43ec7..a5ff8b35850 100644
--- a/TAO/tao/GIOP.cpp
+++ b/TAO/tao/GIOP.cpp
@@ -585,14 +585,13 @@ TAO_GIOP::read_header (TAO_Transport *transport,
// problems than just this small loop.
char *buf = input.rd_ptr ();
-
+ size_t n;
+
for (int t = header_size;
t != 0;
t -= n)
{
- // @@ Carlos, should this be ssize_r rather than int (please
- // check the other uses of this call).
- int n = transport->recv (buf, t);
+ n = transport->recv (buf, t);
if (n == -1)
return -1;
else if (n == 0 && errno != EWOULDBLOCK)