Browse Source

fixed config.json compatibility issue

pull/261/head
Leonard Li 10 years ago
parent
commit
8335bae6f7
1 changed files with 1 additions and 1 deletions
  1. 2
      src/jconf.c

2
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);

Loading…
Cancel
Save