mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Merge pull request #97 from jvain/redis-cli
redis-cli segfaults with single numeric argument greater than zero
This commit is contained in:
commit
7c748c061e
@ -697,7 +697,7 @@ static void repl() {
|
||||
int repeat, skipargs = 0;
|
||||
|
||||
repeat = atoi(argv[0]);
|
||||
if (repeat) {
|
||||
if (argc > 1 && repeat) {
|
||||
skipargs = 1;
|
||||
} else {
|
||||
repeat = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user