fix a build issue

This commit is contained in:
Max Lv
2015-08-12 12:42:09 +08:00
parent 4c508e1ed4
commit 096e1eca5d
-3
View File
@@ -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) {