summaryrefslogtreecommitdiff
path: root/netsvcs
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-03 22:44:29 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-03 22:44:29 +0000
commit6fdc123c601a3f58942924c639757df366049743 (patch)
treef259a828748eac9e886983e3f9d3e44f0a0a8d1c /netsvcs
parent440ffb3f2559ea0ea76be0f1502f4d094fb7eeab (diff)
downloadATCD-6fdc123c601a3f58942924c639757df366049743.tar.gz
*** empty log message ***
Diffstat (limited to 'netsvcs')
-rw-r--r--netsvcs/lib/TS_Clerk_Handler.cpp2
-rw-r--r--netsvcs/lib/TS_Clerk_Handler.h2
-rw-r--r--netsvcs/lib/Token_Handler.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/netsvcs/lib/TS_Clerk_Handler.cpp b/netsvcs/lib/TS_Clerk_Handler.cpp
index f6d8c5b3b66..a526b49324d 100644
--- a/netsvcs/lib/TS_Clerk_Handler.cpp
+++ b/netsvcs/lib/TS_Clerk_Handler.cpp
@@ -496,7 +496,7 @@ ACE_TS_Clerk_Processor::initiate_connection (ACE_TS_Clerk_Handler *handler,
{
if (ACE_Service_Config::reactor ()->schedule_timer (handler,
0,
- handler->timeout ()) == 0)
+ handler->timeout ()) == -1)
ACE_ERROR_RETURN ((LM_ERROR, "(%t) %p\n", "schedule_timer"), -1);
}
else
diff --git a/netsvcs/lib/TS_Clerk_Handler.h b/netsvcs/lib/TS_Clerk_Handler.h
index fe0e025303a..096266bd0d2 100644
--- a/netsvcs/lib/TS_Clerk_Handler.h
+++ b/netsvcs/lib/TS_Clerk_Handler.h
@@ -208,7 +208,7 @@ private:
System_Time system_time_;
// Clerk system time containing pointers to entries in shared memory
- int timer_id_;
+ long timer_id_;
// Timer id returned by Reactor
int timeout_;
diff --git a/netsvcs/lib/Token_Handler.h b/netsvcs/lib/Token_Handler.h
index a9279ad9ba2..ff2812f74bb 100644
--- a/netsvcs/lib/Token_Handler.h
+++ b/netsvcs/lib/Token_Handler.h
@@ -120,7 +120,7 @@ private:
ACE_Token_Collection collection_;
// collection of the client's token proxies.
- int timeout_id_;
+ long timeout_id_;
// ID returned by the Reactor that is used to kill registered timers
// when a token operation times out.