From f5021469448eeae3f4b3f7ea8c3f5b1c1e6954ab Mon Sep 17 00:00:00 2001 From: schmidt Date: Tue, 25 Feb 1997 19:54:10 +0000 Subject: *** empty log message *** --- examples/Connection/non_blocking/CPP-acceptor.cpp | 5 +++-- examples/Connection/non_blocking/CPP-connector.h | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/Connection/non_blocking/CPP-acceptor.cpp b/examples/Connection/non_blocking/CPP-acceptor.cpp index 7972926a2eb..fa6ddba1332 100644 --- a/examples/Connection/non_blocking/CPP-acceptor.cpp +++ b/examples/Connection/non_blocking/CPP-acceptor.cpp @@ -58,8 +58,9 @@ Svc_Handler::handle_input (ACE_HANDLE) // Read data from client (terminate on error). - cerr << "in handle_input" << endl; - for (int r_bytes; (r_bytes = this->peer ().recv (buf, sizeof buf)) > 0; ) + ACE_DEBUG ((LM_DEBUG, "(%t) in handle_input\n")); + + for (ssize_t r_bytes; (r_bytes = this->peer ().recv (buf, sizeof buf)) > 0; ) if (ACE_OS::write (ACE_STDOUT, buf, r_bytes) != r_bytes) ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "ACE::send_n"), -1); diff --git a/examples/Connection/non_blocking/CPP-connector.h b/examples/Connection/non_blocking/CPP-connector.h index 81be8b6ba71..c88027c34cb 100644 --- a/examples/Connection/non_blocking/CPP-connector.h +++ b/examples/Connection/non_blocking/CPP-connector.h @@ -32,8 +32,6 @@ protected: int (Peer_Handler::*action_) (void); // Keeps track of which state we are in. - -private: }; template -- cgit v1.2.1