Commit 4aa31793 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Merge pull request #67 from jzwinck/master

A small fix for outdated/typo'd comments in hiredis.c
parents 7bc9f541 347528cf
...@@ -1097,10 +1097,10 @@ int redisBufferRead(redisContext *c) { ...@@ -1097,10 +1097,10 @@ int redisBufferRead(redisContext *c) {
* *
* Returns REDIS_OK when the buffer is empty, or (a part of) the buffer was * 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 * 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 * 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 redisBufferWrite(redisContext *c, int *done) {
int nwritten; int nwritten;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment