FS-11896: [core] Fix typo in ftdm_buffer

This commit is contained in:
Andrey Volk 2019-06-22 02:01:47 +04:00
parent 5daa48953d
commit 4329f36274
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@ FT_DECLARE(ftdm_status_t) ftdm_buffer_create(ftdm_buffer_t **buffer, ftdm_size_t
start_len = 250;
}
if (!block_size) {
block_size = start_len;
if (!blocksize) {
blocksize = start_len;
}
new_buffer->data = ftdm_malloc(start_len);