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
hiredis
Commits
822efe2a
Commit
822efe2a
authored
Dec 02, 2010
by
Amir Mohammad Saied
Browse files
Redis command getting executed is PING, PONG is actually the expected answer
parent
7684d556
Changes
1
Hide whitespace changes
Inline
Side-by-side
example.c
View file @
822efe2a
...
...
@@ -17,7 +17,7 @@ int main(void) {
/* PING server */
reply
=
redisCommand
(
c
,
"PING"
);
printf
(
"P
O
NG: %s
\n
"
,
reply
->
str
);
printf
(
"P
I
NG: %s
\n
"
,
reply
->
str
);
freeReplyObject
(
reply
);
/* Set a key */
...
...
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