summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-02-25 19:54:10 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-02-25 19:54:10 +0000
commitf5021469448eeae3f4b3f7ea8c3f5b1c1e6954ab (patch)
treea56db80f5292f1d5703c60e921e1ee929bdb64b8
parent3c0b7d4006d67280c7eb33cac48cf481a6e32c7c (diff)
downloadATCD-f5021469448eeae3f4b3f7ea8c3f5b1c1e6954ab.tar.gz
*** empty log message ***
-rw-r--r--examples/Connection/non_blocking/CPP-acceptor.cpp5
-rw-r--r--examples/Connection/non_blocking/CPP-connector.h2
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<PR_ST_2>::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<ACE_PEER_STREAM_2>::*action_) (void);
// Keeps track of which state we are in.
-
-private:
};
template <class SVC_HANDLER, ACE_PEER_CONNECTOR_1>