Skip to content

Commit

Permalink
fixed config.json compatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanl committed Feb 11, 2015
1 parent 223b8bc commit 8335bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8335bae

Please sign in to comment.