Merge pull request #620 from hacst/patch-1
Fix redisBufferRead documentation
This commit is contained in:
commit
970e5fa0a3
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user