]> git.saurik.com Git - redis.git/commitdiff
lenght -> length
authorantirez <antirez@gmail.com>
Tue, 24 Jan 2012 14:33:15 +0000 (15:33 +0100)
committerantirez <antirez@gmail.com>
Tue, 24 Jan 2012 14:33:15 +0000 (15:33 +0100)
src/aof.c
src/networking.c

index 72b476e7b1bf0ec7f1d1a54b8d39071ed35e1cbd..0bdcd9edba9b6eabfb1a9d63cb9038363c632858 100644 (file)
--- a/src/aof.c
+++ b/src/aof.c
@@ -844,7 +844,7 @@ void aofRemoveTempFile(pid_t childpid) {
 /* Update the server.aof_current_size filed explicitly using stat(2)
  * to check the size of the file. This is useful after a rewrite or after
  * a restart, normally the size is updated just adding the write length
- * to the current lenght, that is much faster. */
+ * to the current length, that is much faster. */
 void aofUpdateCurrentSize(void) {
     struct redis_stat sb;
 
index b098b490e997f119982744e8c1c29a9af1e10fd8..fe745102f1b8288158e6cb224f5d5a36d304e641 100644 (file)
@@ -1203,7 +1203,7 @@ void rewriteClientCommandArgument(redisClient *c, int i, robj *newval) {
  *
  * Note: this function is very fast so can be called as many time as
  * the caller wishes. The main usage of this function currently is
- * enforcing the client output lenght limits. */
+ * enforcing the client output length limits. */
 unsigned long getClientOutputBufferMemoryUsage(redisClient *c) {
     unsigned long list_item_size = sizeof(listNode);