From 347528cf480c73a3d89fdffe2e613da14d54480e Mon Sep 17 00:00:00 2001 From: John Zwinck Date: Mon, 28 Nov 2011 16:37:35 -0500 Subject: [PATCH] Fix minor inconsistencies in comment. --- hiredis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hiredis.c b/hiredis.c index dfee705..4247b82 100644 --- a/hiredis.c +++ b/hiredis.c @@ -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;