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