mirror of
https://github.com/coturn/coturn.git
synced 2025-11-02 07:50:59 +01:00
tidy
This commit is contained in:
parent
170da11407
commit
fefc55041c
@ -293,11 +293,6 @@ static stun_buffer_list_elem *new_blist_elem(ioa_engine_handle e)
|
|||||||
|
|
||||||
if(!ret) {
|
if(!ret) {
|
||||||
ret = (stun_buffer_list_elem *)malloc(sizeof(stun_buffer_list_elem));
|
ret = (stun_buffer_list_elem *)malloc(sizeof(stun_buffer_list_elem));
|
||||||
/* init bzero below will solve all of these in one step
|
|
||||||
ret->buf.len = 0;
|
|
||||||
ret->buf.offset = 0;
|
|
||||||
ret->buf.coffset = 0;
|
|
||||||
*/
|
|
||||||
ret->next = NULL;
|
ret->next = NULL;
|
||||||
if (!ret) {
|
if (!ret) {
|
||||||
TURN_LOG_FUNC(TURN_LOG_LEVEL_ERROR, "%s: Cannot allocate memory for STUN buffer!\n", __FUNCTION__);
|
TURN_LOG_FUNC(TURN_LOG_LEVEL_ERROR, "%s: Cannot allocate memory for STUN buffer!\n", __FUNCTION__);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user