提交 2f0f0d95 编写于 作者: A antirez

lenght -> length

上级 3cbce4f4
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册