Merge pull request #620 from hacst/patch-1

Fix redisBufferRead documentation
This commit is contained in:
Michael Grunder 2018-10-25 09:53:50 -07:00 committed by GitHub
commit 970e5fa0a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -777,7 +777,7 @@ int redisEnableKeepAlive(redisContext *c) {
/* Use this function to handle a read event on the descriptor. It will try /* 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. * 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. */ * see if there is a reply available. */
int redisBufferRead(redisContext *c) { int redisBufferRead(redisContext *c) {
char buf[1024*16]; char buf[1024*16];