diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-20 00:07:09 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-20 00:07:09 +0000 |
commit | c53f502e0ea6ed38fcb7cbd86f6424ba36bf22be (patch) | |
tree | 7087ff9f7174ed055876b5c398e6b8e8dff3456a /netsvcs | |
parent | ea5e1f008835fa9511cc14c9f7d9b45c9e34ad9c (diff) | |
download | ATCD-c53f502e0ea6ed38fcb7cbd86f6424ba36bf22be.tar.gz |
* netsvcs/lib/Server_Logging_Handler_T.cpp (handle_logging_record):
Reverted change that was thought to work around egcs compiler bug.
The call to ntohl() within the templates still causes the compiler
to complain.
Diffstat (limited to 'netsvcs')
-rw-r--r-- | netsvcs/lib/Server_Logging_Handler_T.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/netsvcs/lib/Server_Logging_Handler_T.cpp b/netsvcs/lib/Server_Logging_Handler_T.cpp index 34bce80e46e..b5f44dbf83f 100644 --- a/netsvcs/lib/Server_Logging_Handler_T.cpp +++ b/netsvcs/lib/Server_Logging_Handler_T.cpp @@ -90,12 +90,7 @@ ACE_Server_Logging_Handler_T<ACE_PEER_STREAM_2, COUNTER, ACE_SYNCH_USE, LMR>::ha { ACE_Log_Record lp; - // This temporary variable is needed to prevent egcs 2.91.63 - // from producing improper code on the ntohl() call. - // (a compiler bug?) - ACE_INT32 temp_length = length; - - length = ntohl (temp_length); + length = ntohl (length); #if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES) u_long count = ++this->request_count_; |