Add missing bracket removed for error after rebase of PSYNC.

This commit is contained in:
antirez 2013-02-12 12:56:32 +01:00
parent 3af478e9ef
commit 04bdb3a2a4

View File

@ -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) {