]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11896: [core] Fix typo in esl_buffer
authorAndrey Volk <andywolk@gmail.com>
Wed, 19 Jun 2019 22:26:44 +0000 (02:26 +0400)
committerAndrey Volk <andywolk@gmail.com>
Wed, 17 Jul 2019 20:26:58 +0000 (00:26 +0400)
libs/esl/src/esl_buffer.c

index 61a04c0db8cd324d23bcfb5820f6f568b3405754..198c5df41a1668f7ba9336a0793ac620de72cde5 100644 (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);