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:
parent
6a90d335fc
commit
6c3592d907
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue