mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
a little realloc never hurt anyone.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4756 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -41,7 +41,7 @@ SWITCH_DECLARE(switch_status_t) switch_console_stream_write(switch_stream_handle
|
||||
char *buf = handle->data;
|
||||
char *end = handle->end;
|
||||
int ret = 0;
|
||||
char *data;
|
||||
char *data = NULL;
|
||||
|
||||
if (handle->data_len >= handle->data_size) {
|
||||
return SWITCH_STATUS_FALSE;
|
||||
|
Reference in New Issue
Block a user