FS-11896: [core] Fix typo in esl_buffer

This commit is contained in:
Andrey Volk 2019-06-20 02:26:44 +04:00
parent ff21989218
commit 5daa48953d
1 changed files with 2 additions and 2 deletions

View File

@ -62,8 +62,8 @@ ESL_DECLARE(esl_status_t) esl_buffer_create(esl_buffer_t **buffer, esl_size_t bl
start_len = 250;
}
if (!block_size) {
block_size = start_len;
if (!blocksize) {
blocksize = start_len;
}
new_buffer->data = malloc(start_len);