summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Cleeland <chris.cleeland@gmail.com>1997-05-20 15:56:11 +0000
committerChris Cleeland <chris.cleeland@gmail.com>1997-05-20 15:56:11 +0000
commit6065ee17e890b7bfb035d6a786f03d605df2788f (patch)
tree9bfec28295635409dddae5b413108c11fe4a2607
parent05c58477b41aa9267513cd44df9cfe00a600ee8b (diff)
downloadATCD-6065ee17e890b7bfb035d6a786f03d605df2788f.tar.gz
* IIOP/lib/giop.cpp: Fixed incorrect passing of an object to
ACE_DEBUG() where an int is expected.
-rw-r--r--TAO/ChangeLog-98c5
-rw-r--r--TAO/IIOP/lib/giop.cpp4
2 files changed, 7 insertions, 2 deletions
diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c
index d5519fc3282..50916cbfe35 100644
--- a/TAO/ChangeLog-98c
+++ b/TAO/ChangeLog-98c
@@ -1,3 +1,8 @@
+Tue May 20 10:55:09 1997 Chris Cleeland <cleeland@cs.wustl.edu>
+
+ * IIOP/lib/giop.cpp: Fixed incorrect passing of an object to
+ ACE_DEBUG() where an int is expected.
+
Mon May 19 17:16:34 1997 Chris Cleeland <cleeland@merengue.cs.wustl.edu>
* IIOP/lib/roa.cpp: Explicit cast rids us of a warning.
diff --git a/TAO/IIOP/lib/giop.cpp b/TAO/IIOP/lib/giop.cpp
index 52402f7a407..d810e462035 100644
--- a/TAO/IIOP/lib/giop.cpp
+++ b/TAO/IIOP/lib/giop.cpp
@@ -401,7 +401,7 @@ GIOP::read_message (ACE_SOCK_Stream &connection,
if (len == 0)
{ // EOF
ACE_DEBUG ((LM_DEBUG, "(%P|%t) Header EOF ... peer probably aborted connection %d",
- connection));
+ connection.get_handle()));
return EndOfFile;
// XXX should probably find some way to report this without
// an exception, since for most servers it's not an error.
@@ -476,7 +476,7 @@ GIOP::read_message (ACE_SOCK_Stream &connection,
if (len != (int) message_size)
{
if (len == 0)
- ACE_DEBUG ((LM_DEBUG, "(%P|%t) read message body, EOF on handle %d", connection));
+ ACE_DEBUG ((LM_DEBUG, "(%P|%t) read message body, EOF on handle %d", connection.get_handle()));
else if (len < 0)
ACE_DEBUG ((LM_ERROR, "(%P|%t) GIOP::read_message () body %p"));
else