mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Add missing bracket removed for error after rebase of PSYNC.
This commit is contained in:
parent
3af478e9ef
commit
04bdb3a2a4
@ -238,6 +238,7 @@ void loadServerConfigFromString(char *config) {
|
|||||||
} else if (!strcasecmp(argv[0],"repl-disable-tcp-nodelay") && argc==2) {
|
} else if (!strcasecmp(argv[0],"repl-disable-tcp-nodelay") && argc==2) {
|
||||||
if ((server.repl_disable_tcp_nodelay = yesnotoi(argv[1])) == -1) {
|
if ((server.repl_disable_tcp_nodelay = yesnotoi(argv[1])) == -1) {
|
||||||
err = "argument must be 'yes' or 'no'"; goto loaderr;
|
err = "argument must be 'yes' or 'no'"; goto loaderr;
|
||||||
|
}
|
||||||
} else if (!strcasecmp(argv[0],"repl-backlog-size") && argc == 2) {
|
} else if (!strcasecmp(argv[0],"repl-backlog-size") && argc == 2) {
|
||||||
long long size = strtoll(argv[0],NULL,10);
|
long long size = strtoll(argv[0],NULL,10);
|
||||||
if (size <= 0) {
|
if (size <= 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user