summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-09-25 11:07:17 +0200
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-09-25 11:07:17 +0200
commitde9c172b50e8c28055dc5241585a0bcb690582b9 (patch)
tree626809d8d8a074f765f03af26a4977c3720dc4fc
parentd156550886663c6bedcda3975ef614bf65126432 (diff)
Fix comment
-rw-r--r--hiredis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hiredis.c b/hiredis.c
index 6dc3e1d..e08c596 100644
--- a/hiredis.c
+++ b/hiredis.c
@@ -685,8 +685,8 @@ static void* redisCommandWrite(redisContext *c, char *str, size_t len) {
}
/* Write a formatted command to the output buffer, and, if the context is a
- * non-blocking connection, read the reply and return it. When this function
- * is called from a blocking context, it will always return NULL. */
+ * blocking connection, read the reply and return it. When this function
+ * is called from a non-blocking context, it will always return NULL. */
void *redisCommand(redisContext *c, const char *format, ...) {
va_list ap;
sds cmd;