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
3f77777f
Commit
3f77777f
authored
May 21, 2018
by
dejun.xdj
Committed by
antirez
May 29, 2018
Browse files
Change the type of repeat argument to long for function cliSendCommand.
To be in consistent with the original definition.
parent
7a565d72
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
3f77777f
...
@@ -917,7 +917,7 @@ static int cliReadReply(int output_raw_strings) {
...
@@ -917,7 +917,7 @@ static int cliReadReply(int output_raw_strings) {
return
REDIS_OK
;
return
REDIS_OK
;
}
}
static
int
cliSendCommand
(
int
argc
,
char
**
argv
,
int
repeat
)
{
static
int
cliSendCommand
(
int
argc
,
char
**
argv
,
long
repeat
)
{
char
*
command
=
argv
[
0
];
char
*
command
=
argv
[
0
];
size_t
*
argvlen
;
size_t
*
argvlen
;
int
j
,
output_raw
;
int
j
,
output_raw
;
...
...
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