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
25407363
Commit
25407363
authored
Oct 27, 2014
by
Nan Xiao
Browse files
Fix function prototype in redis-cli.c.
Fix function prototype in redis-cli.c.
parent
93eed9ae
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
25407363
...
@@ -302,7 +302,7 @@ static void completionCallback(const char *buf, linenoiseCompletions *lc) {
...
@@ -302,7 +302,7 @@ static void completionCallback(const char *buf, linenoiseCompletions *lc) {
*--------------------------------------------------------------------------- */
*--------------------------------------------------------------------------- */
/* Send AUTH command to the server */
/* Send AUTH command to the server */
static
int
cliAuth
()
{
static
int
cliAuth
(
void
)
{
redisReply
*
reply
;
redisReply
*
reply
;
if
(
config
.
auth
==
NULL
)
return
REDIS_OK
;
if
(
config
.
auth
==
NULL
)
return
REDIS_OK
;
...
@@ -315,7 +315,7 @@ static int cliAuth() {
...
@@ -315,7 +315,7 @@ static int cliAuth() {
}
}
/* Send SELECT dbnum to the server */
/* Send SELECT dbnum to the server */
static
int
cliSelect
()
{
static
int
cliSelect
(
void
)
{
redisReply
*
reply
;
redisReply
*
reply
;
if
(
config
.
dbnum
==
0
)
return
REDIS_OK
;
if
(
config
.
dbnum
==
0
)
return
REDIS_OK
;
...
...
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