summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2004-02-20 23:38:54 +0000
committerSteve Huston <shuston@riverace.com>2004-02-20 23:38:54 +0000
commit35bbb7b86ea78c14a59545378b65e9d0f35fc443 (patch)
treed87e0f6edf86d07f52bc511e38d68db3148039ba
parentf96cbed368cd0d834c788e1ad71d3837f009d8f7 (diff)
downloadATCD-35bbb7b86ea78c14a59545378b65e9d0f35fc443.tar.gz
ChangeLogTag:Fri Feb 20 18:21:#9 2004 Steve Huston <shuston@riverace.com>
-rw-r--r--examples/C++NPv2/AC_Client_Logging_Daemon.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/C++NPv2/AC_Client_Logging_Daemon.cpp b/examples/C++NPv2/AC_Client_Logging_Daemon.cpp
index 66753bc3f9c..d230c05ca97 100644
--- a/examples/C++NPv2/AC_Client_Logging_Daemon.cpp
+++ b/examples/C++NPv2/AC_Client_Logging_Daemon.cpp
@@ -55,7 +55,7 @@ public:
AC_Input_Handler (AC_Output_Handler *handler = 0)
: output_handler_ (handler) {}
virtual int open (void *); // Initialization hook method.
- virtual int close (u_int = 0); // Shutdown hook method.
+ virtual int close (u_long = 0); // Shutdown hook method.
protected:
// Reactor hook methods.
@@ -121,7 +121,7 @@ public:
protected:
// Connection establishment and authentication hook method.
virtual int connect_svc_handler
- (AC_Output_Handler *svc_handler,
+ (AC_Output_Handler *&svc_handler,
const ACE_SOCK_Connector::PEER_ADDR &remote_addr,
ACE_Time_Value *timeout,
const ACE_SOCK_Connector::PEER_ADDR &local_addr,
@@ -281,7 +281,7 @@ int AC_Input_Handler::open (void *) {
return 0;
}
-int AC_Input_Handler::close (u_int) {
+int AC_Input_Handler::close (u_long) {
ACE_Message_Block *shutdown_message = 0;
ACE_NEW_RETURN
(shutdown_message,
@@ -355,7 +355,7 @@ int AC_CLD_Connector::open (ACE_Reactor *r, int flags) {
}
int AC_CLD_Connector::connect_svc_handler
- (AC_Output_Handler *svc_handler,
+ (AC_Output_Handler *&svc_handler,
const ACE_SOCK_Connector::PEER_ADDR &remote_addr,
ACE_Time_Value *timeout,
const ACE_SOCK_Connector::PEER_ADDR &local_addr,