From: Anthony Minessale Date: Tue, 11 Dec 2007 19:51:23 +0000 (+0000) Subject: update X-Git-Tag: v1.0-rc1~1176 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d170dd9d9b7eac51c71c80be65eb4c57154f2ea8;p=thirdparty%2Ffreeswitch.git update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6662 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/include/switch_console.h b/src/include/switch_console.h index 2a7e54dbb7..7e6be7f6db 100644 --- a/src/include/switch_console.h +++ b/src/include/switch_console.h @@ -44,7 +44,7 @@ SWITCH_BEGIN_EXTERN_C #define SWITCH_CMD_CHUNK_LEN 1024 #define SWITCH_STANDARD_STREAM(s) memset(&s, 0, sizeof(s)); s.data = malloc(SWITCH_CMD_CHUNK_LEN); \ - assert(s.data); \ + switch_assert(s.data); \ memset(s.data, 0, SWITCH_CMD_CHUNK_LEN); \ s.end = s.data; \ s.data_size = SWITCH_CMD_CHUNK_LEN; \