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
599e52d9
Commit
599e52d9
authored
Dec 11, 2014
by
Salvatore Sanfilippo
Browse files
Merge pull request #2106 from NanXiao/unstable
Fix function prototype in redis-cli.c.
parents
dea93844
25407363
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
599e52d9
...
...
@@ -328,7 +328,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
;
...
...
@@ -341,7 +341,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