remove warning for crippled operating systems

master
Felix von Leitner 6 years ago
parent 5027027b8c
commit 2fa4ba6e22
  1. 3
      socket/socket_deferaccept.c

@ -20,5 +20,8 @@ void socket_deferaccept(int s,enum defermode mode) {
memset(&afa,0,sizeof(afa));
strcpy(afa.af_name,mode==HTTPIN?"httpreader":"dataready");
setsockopt(s, SOL_SOCKET, SO_ACCEPTFILTER, &afa, sizeof(afa));
#else
(void)s;
(void)mode;
#endif
}

Loading…
Cancel
Save