Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
cf9a29e429
  1. 2
      iguana/iguana_accept.c

2
iguana/iguana_accept.c

@ -71,7 +71,7 @@ void iguana_acceptloop(void *args)
{ {
memset(&pfd,0,sizeof(pfd)); memset(&pfd,0,sizeof(pfd));
pfd.fd = bindsock; pfd.fd = bindsock;
pfd.events = POLL_IN; pfd.events = POLLIN;
if ( poll(&pfd,1,100) <= 0 ) if ( poll(&pfd,1,100) <= 0 )
continue; continue;
clilen = sizeof(cli_addr); clilen = sizeof(cli_addr);

Loading…
Cancel
Save