Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 124543 | Differences between
and this patch

Collapse All | Expand All

(-)src/client.c (-1 / +1 lines)
Lines 1167-1173 Link Here
1167
  if (select(maxfd+1, &rset, NULL, NULL, &t) != -1)
1167
  if (select(maxfd+1, &rset, NULL, NULL, &t) != -1)
1168
    {
1168
    {
1169
      
1169
      
1170
      if (FD_ISSET(udpFooSocket, &rset))
1170
      if (udpFooSocket != -1 && FD_ISSET(udpFooSocket, &rset))
1171
	while (recvfrom(udpFooSocket,(void *)foobuf,sizeof(foobuf),0,NULL,NULL) != -1 );
1171
	while (recvfrom(udpFooSocket,(void *)foobuf,sizeof(foobuf),0,NULL,NULL) != -1 );
1172
      
1172
      
1173
      if (FD_ISSET(dhcpSocket, &rset))
1173
      if (FD_ISSET(dhcpSocket, &rset))

Return to bug 124543