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
e2aba0f9
Commit
e2aba0f9
authored
Nov 01, 2009
by
antirez
Browse files
redis-cli now makes clear when the returned string is an integer
parent
443c6409
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis-cli.c
View file @
e2aba0f9
...
...
@@ -238,6 +238,7 @@ static int cliReadReply(int fd) {
cliReadSingleLineReply
(
fd
);
return
1
;
case
'+'
:
return
cliReadSingleLineReply
(
fd
);
case
':'
:
printf
(
"(integer) "
);
return
cliReadSingleLineReply
(
fd
);
...
...
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