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
eece2d52
Commit
eece2d52
authored
Feb 21, 2011
by
antirez
Browse files
suppress a Linux warning, for 2.2 sake
parent
eb5aeaf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/replication.c
View file @
eece2d52
...
@@ -547,7 +547,9 @@ void replicationCron(void) {
...
@@ -547,7 +547,9 @@ void replicationCron(void) {
* connection last interaction time, and at the same time
* connection last interaction time, and at the same time
* we'll be sure that being a single char there are no
* we'll be sure that being a single char there are no
* short-write problems. */
* short-write problems. */
write
(
slave
->
fd
,
"
\n
"
,
1
);
if
(
write
(
slave
->
fd
,
"
\n
"
,
1
)
==
-
1
)
{
/* Don't worry, it's just a ping. */
}
}
}
}
}
}
}
...
...
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