FS-11896: [core] Fix typo in ftdm_buffer

This commit is contained in:
Andrey Volk committed 2019-07-18 00:27:05 +04:00
1 parent 5daa48953d
commit 4329f36274
1 file changed
+2 -2
+2 -2
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);