Browse Source

Fix #1050

pull/1053/head
Max Lv 7 years ago
parent
commit
f67518a9d4
1 changed files with 4 additions and 2 deletions
  1. 6
      src/server.c

6
src/server.c

@ -1877,13 +1877,15 @@ main(int argc, char **argv)
snprintf(server_str + len, buf_size - len, "|%s", server_host[i]);
len = strlen(server_str);
}
server_host[0] = "127.0.0.1";
server_num = 1;
int err = start_plugin(plugin, server_str,
plugin_port, server_host[0], server_port);
if (err) {
FATAL("failed to start the plugin");
}
server_num = 1;
}
// initialize listen context

Loading…
Cancel
Save