use switch_assert macro instead of just assert.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6710 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-12-12 22:41:35 +00:00
parent 6a90d335fc
commit 6c3592d907
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ static switch_status_t mod_logfile_rotate(logfile_profile_t *profile)
p = malloc(strlen(profile->logfile)+WARM_FUZZY_OFFSET);
assert(p);
switch_assert(p);
memset(p, '\0', strlen(profile->logfile)+WARM_FUZZY_OFFSET);