diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-10-31 09:09:04 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-10-31 09:09:04 +0000 |
commit | 58a2c3474227e7bc7909d34a04da8595851665ad (patch) | |
tree | df95934d06f5e9fa4ea56a1f09e9a26f6a6016d8 /netsvcs/lib/TS_Clerk_Handler.cpp | |
parent | f5b3621eba492dd6445ea740df54ca6ec0d66b8e (diff) | |
download | ATCD-58a2c3474227e7bc7909d34a04da8595851665ad.tar.gz |
Arrgh
Diffstat (limited to 'netsvcs/lib/TS_Clerk_Handler.cpp')
-rw-r--r-- | netsvcs/lib/TS_Clerk_Handler.cpp | 6 |
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) |