From 8335bae6f728d678c45b8afee428ba5642add59e Mon Sep 17 00:00:00 2001 From: Leonard Li Date: Wed, 11 Feb 2015 09:57:21 +0800 Subject: [PATCH] fixed config.json compatibility issue --- src/jconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jconf.c b/src/jconf.c index a1902b01..19e0eab1 100644 --- a/src/jconf.c +++ b/src/jconf.c @@ -165,7 +165,7 @@ jconf_t *read_jconf(const char * file) } } else if (strcmp(name, "server_port") == 0) { conf.remote_port = to_string(value); - } else if (strcmp(name, "local") == 0) { + } else if (strcmp(name, "local_address") == 0) { conf.local_addr = to_string(value); } else if (strcmp(name, "local_port") == 0) { conf.local_port = to_string(value);