[Freeswitch-svn] [commit] r8429 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Fri May 16 09:16:28 EDT 2008
Author: anthm
Date: Fri May 16 09:16:27 2008
New Revision: 8429
Modified:
freeswitch/trunk/src/switch_core_session.c
Log:
updatew
Modified: freeswitch/trunk/src/switch_core_session.c
==============================================================================
--- freeswitch/trunk/src/switch_core_session.c (original)
+++ freeswitch/trunk/src/switch_core_session.c Fri May 16 09:16:27 2008
@@ -571,7 +571,9 @@
SWITCH_DECLARE(uint32_t) switch_core_session_private_event_count(switch_core_session_t *session)
{
- if (session->private_event_queue) {
+ switch_channel_t *channel = switch_core_session_get_channel(session);
+
+ if (!switch_channel_test_flag(channel, CF_EVENT_LOCK) && session->private_event_queue) {
return switch_queue_size(session->private_event_queue);
}
More information about the Freeswitch-svn
mailing list