summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmir Mohammad Saied <amirsaied@gmail.com>2010-12-02 22:00:21 +0330
committerAmir Mohammad Saied <amirsaied@gmail.com>2010-12-02 22:00:21 +0330
commit822efe2ac3174685ec26d3e01e223fe25ed77aa2 (patch)
treebef803f923db58ef2919087f3a7a2edd7eb560ae
parent7684d556bd7250786eb6fd38c656368530903677 (diff)
Redis command getting executed is PING, PONG is actually the expected answer
-rw-r--r--example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.c b/example.c
index 676814a..2506f39 100644
--- a/example.c
+++ b/example.c
@@ -17,7 +17,7 @@ int main(void) {
/* PING server */
reply = redisCommand(c,"PING");
- printf("PONG: %s\n", reply->str);
+ printf("PING: %s\n", reply->str);
freeReplyObject(reply);
/* Set a key */