Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
2f0f0d95
Commit
2f0f0d95
authored
Jan 24, 2012
by
antirez
Browse files
lenght -> length
parent
3cbce4f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/aof.c
View file @
2f0f0d95
...
@@ -844,7 +844,7 @@ void aofRemoveTempFile(pid_t childpid) {
...
@@ -844,7 +844,7 @@ void aofRemoveTempFile(pid_t childpid) {
/* Update the server.aof_current_size filed explicitly using stat(2)
/* 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
* 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
* a restart, normally the size is updated just adding the write length
* to the current leng
h
t, that is much faster. */
* to the current lengt
h
, that is much faster. */
void
aofUpdateCurrentSize
(
void
)
{
void
aofUpdateCurrentSize
(
void
)
{
struct
redis_stat
sb
;
struct
redis_stat
sb
;
...
...
src/networking.c
View file @
2f0f0d95
...
@@ -1203,7 +1203,7 @@ void rewriteClientCommandArgument(redisClient *c, int i, robj *newval) {
...
@@ -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
* 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
* the caller wishes. The main usage of this function currently is
* enforcing the client output leng
h
t limits. */
* enforcing the client output lengt
h
limits. */
unsigned
long
getClientOutputBufferMemoryUsage
(
redisClient
*
c
)
{
unsigned
long
getClientOutputBufferMemoryUsage
(
redisClient
*
c
)
{
unsigned
long
list_item_size
=
sizeof
(
listNode
);
unsigned
long
list_item_size
=
sizeof
(
listNode
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment