Browse Source

fix a build issue

pull/140/head
Max Lv 10 years ago
parent
commit
1235900963
1 changed files with 2 additions and 0 deletions
  1. 2
      src/server.c

2
src/server.c

@ -169,7 +169,9 @@ struct remote *connect_to_remote(struct addrinfo *res, struct server *server)
{ {
int sockfd; int sockfd;
int opt = 1; int opt = 1;
#ifdef SET_INTERFACE
const char *iface = server->listen_ctx->iface; const char *iface = server->listen_ctx->iface;
#endif
// initilize remote socks // initilize remote socks
sockfd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); sockfd = socket(res->ai_family, res->ai_socktype, res->ai_protocol);

Loading…
Cancel
Save