diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-11-28 13:44:18 -0800 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-11-28 13:44:18 -0800 |
commit | 4aa3179332febf14b373af727512e5dc8b4e1ac8 (patch) | |
tree | d0132b80844bfb501de917dd8e8c10c5a3862643 | |
parent | 7bc9f5413447af9c920b9aaba85fa39d9496fe1a (diff) | |
parent | 347528cf480c73a3d89fdffe2e613da14d54480e (diff) |
Merge pull request #67 from jzwinck/master
A small fix for outdated/typo'd comments in hiredis.c
-rw-r--r-- | hiredis.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |