diff options
author | Stefan Hacker <mail@hacst.net> | 2018-10-24 23:36:44 +0200 |
---|---|---|
committer | Stefan Hacker <dd0t@users.sourceforge.net> | 2018-10-24 23:56:51 +0200 |
commit | 169fcc708b4a001715bf2ba985e007875d829083 (patch) | |
tree | 7cc1ae073dd34b6f782233fb0ca2ce865e332fa3 | |
parent | 67036ef70c9b332c51fe24489fc9f9cdaa09dbe3 (diff) |
Fix redisBufferRead documentation
Referred to redisContextReadReply which I cannot find in this codebase
nor the old redis-tools one. Presumably this meant to say
redisGetReplyFromReader which is how redisBufferRead is used in this
file. Could've also meant the interface function redisReaderGetReply.
-rw-r--r-- | hiredis.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |