Add missing bracket removed for error after rebase of PSYNC.
This commit is contained in:
parent
d5bed58b08
commit
950d8b40e5
@ -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