fix MODAPP-145

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9600 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-09-19 17:05:44 +00:00
parent 4ff08a1c40
commit 13427d0e16
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ SWITCH_DECLARE_NONSTD(switch_status_t) switch_console_stream_raw_write(switch_st
memcpy((uint8_t *) (handle->data) + handle->data_len, data, datalen);
handle->data_len += datalen;
handle->end = (uint8_t *) (handle->data) + handle->data_len;
handle->end = NULL;
*(uint8_t *)handle->end = '\0';
return SWITCH_STATUS_SUCCESS;
}