mirror of
https://github.com/fluencelabs/redis
synced 2025-04-02 15:51:05 +00:00
Remove useless trailing space in SYNC command sent to master.
This commit is contained in:
parent
ae62d29d1d
commit
299290d3a4
@ -423,7 +423,7 @@ void syncWithMaster(aeEventLoop *el, int fd, void *privdata, int mask) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Issue the SYNC command */
|
/* 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",
|
redisLog(REDIS_WARNING,"I/O error writing to MASTER: %s",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
goto error;
|
goto error;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user