Skip to content

Commit

Permalink
Fix parameter loop error in redisxRunScriptAsync()
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Nov 29, 2024
1 parent e3133b4 commit 9ab292f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redisx-script.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ int redisxRunScriptAsync(RedisClient *cl, const char *sha1, const char **keys, c
args[i++] = sn;

for(k = 0; k < nkeys; k++) args[i++] = (char *) keys[k];
for(k = 0; k <nparams; i++) args[i++] = (char *) params[k];
for(k = 0; k < nparams; k++) args[i++] = (char *) params[k];

i = redisxSendArrayRequestAsync(cl, args, NULL, nargs);
free(args);
Expand Down

0 comments on commit 9ab292f

Please sign in to comment.