summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-01-14 15:37:49 +0100
committerantirez <antirez@gmail.com>2014-01-14 15:38:26 +0100
commitd401022d1460022cf89f022414a45200a949cf9f (patch)
tree4b15c68ee119eeeee8ac1f98786f3fba5d07d7f4
parent4ea91aadfb8172831bd1a822b84fef7416e211fa (diff)
downloadredis-d401022d1460022cf89f022414a45200a949cf9f.tar.gz
Fix typo in aofRewriteBufferAppend() comment.
-rw-r--r--src/aof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aof.c b/src/aof.c
index 5bec0ac14..93f7d8d47 100644
--- a/src/aof.c
+++ b/src/aof.c
@@ -126,7 +126,7 @@ void aofRewriteBufferAppend(unsigned char *s, unsigned long len) {
}
/* Write the buffer (possibly composed of multiple blocks) into the specified
- * fd. If no short write or any other error happens -1 is returned,
+ * fd. If a short write or any other error happens -1 is returned,
* otherwise the number of bytes written is returned. */
ssize_t aofRewriteBufferWrite(int fd) {
listNode *ln;