Browse Source

fix a build issue

pull/477/head v2.3.0
Max Lv 9 years ago
parent
commit
096e1eca5d
1 changed files with 0 additions and 3 deletions
  1. 3
      src/manager.c

3
src/manager.c

@ -486,9 +486,6 @@ int create_server_socket(const char *host, const char *port)
int opt = 1;
setsockopt(server_sock, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt));
#ifdef SO_NOSIGPIPE
set_nosigpipe(server_sock);
#endif
s = bind(server_sock, rp->ai_addr, rp->ai_addrlen);
if (s == 0) {

Loading…
Cancel
Save