Redis command getting executed is PING, PONG is actually the expected answer
This commit is contained in:
parent
7684d556bd
commit
822efe2ac3
@ -17,7 +17,7 @@ int main(void) {
|
|||||||
|
|
||||||
/* PING server */
|
/* PING server */
|
||||||
reply = redisCommand(c,"PING");
|
reply = redisCommand(c,"PING");
|
||||||
printf("PONG: %s\n", reply->str);
|
printf("PING: %s\n", reply->str);
|
||||||
freeReplyObject(reply);
|
freeReplyObject(reply);
|
||||||
|
|
||||||
/* Set a key */
|
/* Set a key */
|
||||||
|
Loading…
Reference in New Issue
Block a user