summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Grunder <michael.grunder@gmail.com>2018-10-25 09:53:50 -0700
committerGitHub <noreply@github.com>2018-10-25 09:53:50 -0700
commit970e5fa0a39693efdd89b1fc65c5472a0b7b4912 (patch)
tree7cc1ae073dd34b6f782233fb0ca2ce865e332fa3
parent67036ef70c9b332c51fe24489fc9f9cdaa09dbe3 (diff)
parent169fcc708b4a001715bf2ba985e007875d829083 (diff)
Merge pull request #620 from hacst/patch-1
Fix redisBufferRead documentation
-rw-r--r--hiredis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hiredis.c b/hiredis.c
index 351dfbc..bfbf483 100644
--- a/hiredis.c
+++ b/hiredis.c
@@ -777,7 +777,7 @@ int redisEnableKeepAlive(redisContext *c) {
/* Use this function to handle a read event on the descriptor. It will try
* and read some bytes from the socket and feed them to the reply parser.
*
- * After this function is called, you may use redisContextReadReply to
+ * After this function is called, you may use redisGetReplyFromReader to
* see if there is a reply available. */
int redisBufferRead(redisContext *c) {
char buf[1024*16];