mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +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 */
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user