lenght -> length

This commit is contained in:
antirez 2012-01-24 15:33:15 +01:00
parent 3cbce4f45e
commit 2f0f0d95c0
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View 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);