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
1b5f56d0
Commit
1b5f56d0
authored
Nov 30, 2017
by
zhaozhao.zz
Browse files
aof: cast sdslen to ssize_t
parent
2d73cf23
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/aof.c
View file @
1b5f56d0
...
...
@@ -363,7 +363,7 @@ void flushAppendOnlyFile(int force) {
/* We performed the write so reset the postponed flush sentinel to zero. */
server
.
aof_flush_postponed_start
=
0
;
if
(
nwritten
!=
(
s
igned
)
sdslen
(
server
.
aof_buf
))
{
if
(
nwritten
!=
(
s
size_t
)
sdslen
(
server
.
aof_buf
))
{
static
time_t
last_write_error_log
=
0
;
int
can_log
=
0
;
...
...
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