Browse Source

Merge pull request #261 from yuanl/master

fixed config.json compatibility issue
pull/262/head
Max Lv 9 years ago
parent
commit
4a30b7aa72
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