summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2021-05-23 10:44:34 -0700
committermichael-grunder <michael.grunder@gmail.com>2021-05-23 10:45:47 -0700
commitb6f86f38c2bbf0caa63d489174ac3a9777b97807 (patch)
treee31c1ff626780b8f7824505a14363f3ce4f17621 /README.md
parent667dbf536524ba3f28c1d964793db1055c5a64f2 (diff)
Fix README.md
Closes #929
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files 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: