summaryrefslogtreecommitdiff
path: root/netsvcs/lib/TS_Clerk_Handler.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-10-31 09:09:04 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-10-31 09:09:04 +0000
commit58a2c3474227e7bc7909d34a04da8595851665ad (patch)
treedf95934d06f5e9fa4ea56a1f09e9a26f6a6016d8 /netsvcs/lib/TS_Clerk_Handler.cpp
parentf5b3621eba492dd6445ea740df54ca6ec0d66b8e (diff)
downloadATCD-58a2c3474227e7bc7909d34a04da8595851665ad.tar.gz
Arrgh
Diffstat (limited to 'netsvcs/lib/TS_Clerk_Handler.cpp')
-rw-r--r--netsvcs/lib/TS_Clerk_Handler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/netsvcs/lib/TS_Clerk_Handler.cpp b/netsvcs/lib/TS_Clerk_Handler.cpp
index c2183e03337..1128fffc94e 100644
--- a/netsvcs/lib/TS_Clerk_Handler.cpp
+++ b/netsvcs/lib/TS_Clerk_Handler.cpp
@@ -688,10 +688,10 @@ ACE_TS_Clerk_Processor::initiate_connection (ACE_TS_Clerk_Handler *handler,
ACE_Synch_Options &synch_options)
{
ACE_TRACE ("ACE_TS_Clerk_Processor::initiate_connection");
- char buf[MAXHOSTNAMELEN];
+ char buf[MAXHOSTNAMELEN + 1];
- // Mark ourselves as idle so that the various iterators
- // will ignore us until we are connected/reconnected.
+ // Mark ourselves as idle so that the various iterators will ignore
+ // us until we are connected/reconnected.
handler->state (ACE_TS_Clerk_Handler::IDLE);
if (handler->remote_addr ().addr_to_string (buf, sizeof buf) == -1)