diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2000-07-07 17:41:12 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2000-07-07 17:41:12 +0000 |
commit | 24427ad613f61155ace59cc78f05ef25e53cd536 (patch) | |
tree | a4a53ddf59c4a572570f0bb09754294af1d915d8 /netsvcs | |
parent | 2dcd785278bbc199360bed11abb01f972fd6eecb (diff) | |
download | ATCD-24427ad613f61155ace59cc78f05ef25e53cd536.tar.gz |
ChangeLogTag:Fri Jul 7 09:47:36 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'netsvcs')
-rw-r--r-- | netsvcs/lib/Server_Logging_Handler_T.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/netsvcs/lib/Server_Logging_Handler_T.cpp b/netsvcs/lib/Server_Logging_Handler_T.cpp index b9890d8cb54..4f63edbe447 100644 --- a/netsvcs/lib/Server_Logging_Handler_T.cpp +++ b/netsvcs/lib/Server_Logging_Handler_T.cpp @@ -160,14 +160,11 @@ ACE_Server_Logging_Handler_T<ACE_PEER_STREAM_2, COUNTER, ACE_SYNCH_USE, LMR>::op -1); #if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__) - this->receiver_.m_ = ACE_CString (client_addr.get_host_name (), - MAXHOSTNAMELEN + 1); + this->receiver_.m_ = ACE_CString (client_addr.get_host_name ()); #else - this->host_name_ = ACE_CString (client_addr.get_host_name (), - MAXHOSTNAMELEN + 1); + this->host_name_ = ACE_CString (client_addr.get_host_name ()); #endif /* ! ACE_HAS_BROKEN_HPUX_TEMPLATES && ! __GNUG__ */ - ACE_DEBUG ((LM_DEBUG, "(%t) accepted connection from host %s on fd %d\n", client_addr.get_host_name (), |