From b6f86f38c2bbf0caa63d489174ac3a9777b97807 Mon Sep 17 00:00:00 2001 From: michael-grunder Date: Sun, 23 May 2021 10:44:34 -0700 Subject: Fix README.md Closes #929 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 78f6d89..d309a63 100644 --- a/README.md +++ b/README.md @@ -261,9 +261,9 @@ a single call to `read(2)`): redisReply *reply; redisAppendCommand(context,"SET foo bar"); redisAppendCommand(context,"GET foo"); -redisGetReply(context,(void *)&reply); // reply for SET +redisGetReply(context,(void**)&reply); // reply for SET freeReplyObject(reply); -redisGetReply(context,(void *)&reply); // reply for GET +redisGetReply(context,(void**)&reply); // reply for GET freeReplyObject(reply); ``` This API can also be used to implement a blocking subscriber: -- cgit v1.2.3