Merge pull request #67 from jzwinck/master

A small fix for outdated/typo'd comments in hiredis.c
This commit is contained in:
Pieter Noordhuis 2011-11-28 13:44:18 -08:00
commit 4aa3179332

View File

@ -1097,10 +1097,10 @@ int redisBufferRead(redisContext *c) {
*
* Returns REDIS_OK when the buffer is empty, or (a part of) the buffer was
* succesfully written to the socket. When the buffer is empty after the
* write operation, "wdone" is set to 1 (if given).
* write operation, "done" is set to 1 (if given).
*
* Returns REDIS_ERR if an error occured trying to write and sets
* c->error to hold the appropriate error string.
* c->errstr to hold the appropriate error string.
*/
int redisBufferWrite(redisContext *c, int *done) {
int nwritten;