[Freeswitch-svn] [commit] r6710 - freeswitch/trunk/src/mod/loggers/mod_logfile

Freeswitch SVN mikej at freeswitch.org
Wed Dec 12 17:41:36 EST 2007


Author: mikej
Date: Wed Dec 12 17:41:35 2007
New Revision: 6710

Modified:
   freeswitch/trunk/src/mod/loggers/mod_logfile/mod_logfile.c

Log:
use switch_assert macro instead of just assert.

Modified: freeswitch/trunk/src/mod/loggers/mod_logfile/mod_logfile.c
==============================================================================
--- freeswitch/trunk/src/mod/loggers/mod_logfile/mod_logfile.c	(original)
+++ freeswitch/trunk/src/mod/loggers/mod_logfile/mod_logfile.c	Wed Dec 12 17:41:35 2007
@@ -137,7 +137,7 @@
 
 
 	p = malloc(strlen(profile->logfile)+WARM_FUZZY_OFFSET);
-	assert(p);
+	switch_assert(p);
 
 	memset(p, '\0', strlen(profile->logfile)+WARM_FUZZY_OFFSET);
 



More information about the Freeswitch-svn mailing list