From: Anthony Minessale Date: Fri, 25 May 2007 20:39:13 +0000 (+0000) Subject: WTF X-Git-Tag: v1.0-beta1~281 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=17cd7f34333fe25981489e53a1bf58b696170510;p=thirdparty%2Ffreeswitch.git WTF git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5219 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_log.c b/src/switch_log.c index c63604bd54..1b670f4314 100644 --- a/src/switch_log.c +++ b/src/switch_log.c @@ -114,8 +114,9 @@ SWITCH_DECLARE(switch_status_t) switch_log_bind_logger(switch_log_function_t fun 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) {