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

Freeswitch SVN anthm at freeswitch.org
Fri May 25 16:39:14 EDT 2007


Author: anthm
Date: Fri May 25 16:39:13 2007
New Revision: 5219

Modified:
   freeswitch/trunk/src/switch_log.c

Log:
WTF

Modified: freeswitch/trunk/src/switch_log.c
==============================================================================
--- freeswitch/trunk/src/switch_log.c	(original)
+++ freeswitch/trunk/src/switch_log.c	Fri May 25 16:39:13 2007
@@ -114,8 +114,9 @@
 static void *SWITCH_THREAD_FUNC log_thread(switch_thread_t * thread, void *obj)
 {
 
-	/* To Be or Not To Be */
-	assert(obj == NULL || obj != NULL);
+	if (!obj) {
+		obj = NULL;
+	}
 	THREAD_RUNNING = 1;
 
 	while (THREAD_RUNNING == 1) {



More information about the Freeswitch-svn mailing list