diff options
author | michael-grunder <michael.grunder@gmail.com> | 2021-05-23 10:44:34 -0700 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2021-05-23 10:45:47 -0700 |
commit | b6f86f38c2bbf0caa63d489174ac3a9777b97807 (patch) | |
tree | e31c1ff626780b8f7824505a14363f3ce4f17621 | |
parent | 667dbf536524ba3f28c1d964793db1055c5a64f2 (diff) |
Fix README.md
Closes #929
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |