[Freeswitch-svn] [commit] r8903 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Mon Jul 7 11:04:35 EDT 2008


Author: mikej
Date: Mon Jul  7 11:04:35 2008
New Revision: 8903

Modified:
   freeswitch/trunk/src/switch_event.c

Log:
don't remove the event NULL

Modified: freeswitch/trunk/src/switch_event.c
==============================================================================
--- freeswitch/trunk/src/switch_event.c	(original)
+++ freeswitch/trunk/src/switch_event.c	Mon Jul  7 11:04:35 2008
@@ -1074,7 +1074,11 @@
 	switch_status_t status = SWITCH_STATUS_FALSE;
 
 	n = *node;
-	
+
+	if (!n) {
+		return status;
+	}
+
 	switch_thread_rwlock_wrlock(RWLOCK);
 	switch_mutex_lock(BLOCK);
 	/* <LOCKED> ----------------------------------------------- */



More information about the Freeswitch-svn mailing list