fix MODAPP-145
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9600 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
4ff08a1c40
commit
13427d0e16
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue