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
9b43b1ef
"app/vscode:/vscode.git/clone" did not exist on "9dbae1c963eb6f1d6b446a32ca3f12c0bb39e0d4"
Commit
9b43b1ef
authored
May 02, 2012
by
antirez
Browse files
Remove useless trailing space in SYNC command sent to master.
parent
0b08d648
Changes
1
Show whitespace changes
Inline
Side-by-side
src/replication.c
View file @
9b43b1ef
...
...
@@ -423,7 +423,7 @@ void syncWithMaster(aeEventLoop *el, int fd, void *privdata, int mask) {
}
/* Issue the SYNC command */
if
(
syncWrite
(
fd
,
"SYNC
\r\n
"
,
7
,
server
.
repl_syncio_timeout
*
1000
)
==
-
1
)
{
if
(
syncWrite
(
fd
,
"SYNC
\r\n
"
,
6
,
server
.
repl_syncio_timeout
*
1000
)
==
-
1
)
{
redisLog
(
REDIS_WARNING
,
"I/O error writing to MASTER: %s"
,
strerror
(
errno
));
goto
error
;
...
...
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