Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 99975b5

Browse files
yatsukhnenkomichael-grunder
authored andcommitted
Add accidentally removed header
1 parent 2e190ad commit 99975b5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

redis_array.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "config.h"
2020
#endif
2121

22+
#include "common.h"
2223
#include "library.h"
2324
#include "redis_array.h"
2425
#include "redis_array_impl.h"
@@ -335,7 +336,7 @@ ra_forward_call(INTERNAL_FUNCTION_PARAMETERS, RedisArray *ra, const char *cmd,
335336

336337
/* pass call through */
337338
ZVAL_STRINGL(&z_fun, cmd, cmd_len); /* method name */
338-
z_callargs = ecalloc(argc, sizeof(zval));
339+
z_callargs = ecalloc(argc, sizeof(*z_callargs));
339340

340341
/* copy args to array */
341342
i = 0;

0 commit comments

Comments
 (0)