summaryrefslogtreecommitdiff
path: root/netsvcs/lib/Log_Message_Receiver.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-08-10 20:55:29 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-08-10 20:55:29 +0000
commit8f013ee41cf6b0ef317bd72be497bdff9d839907 (patch)
treea93839b41519ad58cd747e8838d410996c469f8d /netsvcs/lib/Log_Message_Receiver.cpp
parent2889dd4034dee209fb2314ef3a8f4c11a26ee5b5 (diff)
downloadATCD-8f013ee41cf6b0ef317bd72be497bdff9d839907.tar.gz
*** empty log message ***
Diffstat (limited to 'netsvcs/lib/Log_Message_Receiver.cpp')
-rw-r--r--netsvcs/lib/Log_Message_Receiver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/netsvcs/lib/Log_Message_Receiver.cpp b/netsvcs/lib/Log_Message_Receiver.cpp
index 45752d092e2..095431c624e 100644
--- a/netsvcs/lib/Log_Message_Receiver.cpp
+++ b/netsvcs/lib/Log_Message_Receiver.cpp
@@ -51,7 +51,7 @@ Log_Message_Receiver_Impl<ACE_SYNCH_2>::attach (Log_Message_Receiver_Impl<ACE_SY
// Use the "body"s print lock as copy lock.
ACE_Guard<ACE_SYNCH_MUTEX> guard (global_copy_lock_);
#endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */
-#endif
+#endif /* ACE_HAS_THREADS */
++body->count_;
return body;
}
@@ -68,7 +68,7 @@ Log_Message_Receiver_Impl<ACE_SYNCH_2>::detach(Log_Message_Receiver_Impl<ACE_SYN
// Use the "body"s print lock as copy lock.
ACE_Guard<ACE_SYNCH_MUTEX> guard (global_copy_lock_);
#endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */
-#endif
+#endif /* ACE_HAS_THREADS */
if (body->count_-- == 0)
delete body;
}