Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
7c748c06
Commit
7c748c06
authored
Sep 21, 2011
by
Salvatore Sanfilippo
Browse files
Merge pull request #97 from jvain/redis-cli
redis-cli segfaults with single numeric argument greater than zero
parents
5833cf16
aee7f997
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
7c748c06
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment