Redis command getting executed is PING, PONG is actually the expected answer

This commit is contained in:
Amir Mohammad Saied 2010-12-02 22:00:21 +03:30
parent 7684d556bd
commit 822efe2ac3

View File

@ -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 */