소스 검색

Remove unneeded addrinfo flag which doesn't exist on MacOS.

master
Richard Nyberg 16 년 전
부모
커밋
3b6ae02d52
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      btpd/net.c

+ 1
- 1
btpd/net.c 파일 보기

@@ -692,7 +692,7 @@ net_init(void)
char portstr[6];
struct addrinfo hints, *res, *ai;
bzero(&hints, sizeof(hints));
hints.ai_flags = AI_ADDRCONFIG | AI_PASSIVE | AI_NUMERICSERV;
hints.ai_flags = AI_ADDRCONFIG | AI_PASSIVE;
hints.ai_family = net_af_spec();
hints.ai_socktype = SOCK_STREAM;
snprintf(portstr, sizeof(portstr), "%hd", net_port);


불러오는 중...
취소
저장