diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-21 23:51:50 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-21 23:51:50 +0000 |
commit | 9ef7bfdbba182f89a32327334fd42054eb19f54b (patch) | |
tree | 05ca6b9b1bc6e0677089c508c845f354a82ffa3f /netsvcs | |
parent | ed1805b32432f72a684c092af985b414bfcf85e1 (diff) | |
download | ATCD-9ef7bfdbba182f89a32327334fd42054eb19f54b.tar.gz |
Updated comments to better explain why ACE_NTOHL was used.
Diffstat (limited to 'netsvcs')
-rw-r--r-- | netsvcs/lib/Server_Logging_Handler_T.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/netsvcs/lib/Server_Logging_Handler_T.cpp b/netsvcs/lib/Server_Logging_Handler_T.cpp index ca44b2f3e59..6982b62fdb6 100644 --- a/netsvcs/lib/Server_Logging_Handler_T.cpp +++ b/netsvcs/lib/Server_Logging_Handler_T.cpp @@ -90,7 +90,11 @@ ACE_Server_Logging_Handler_T<ACE_PEER_STREAM_2, COUNTER, ACE_SYNCH_USE, LMR>::ha { ACE_Log_Record lp; - // Need to use ACE_NTOHL to get around bug in egcs 2.91.6x + // Use ACE_NTOHL to get around bug in egcs 2.91.6x. + // + // Using the ACE_NTOHL macro is functionally equivalent to + // the standard ntohl() system call but it may be more + // inefficient on some platforms. length = ACE_NTOHL (length); #if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES) |