From 822efe2ac3174685ec26d3e01e223fe25ed77aa2 Mon Sep 17 00:00:00 2001 From: Amir Mohammad Saied Date: Thu, 2 Dec 2010 22:00:21 +0330 Subject: [PATCH] Redis command getting executed is PING, PONG is actually the expected answer --- example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */