inet: silence message about exceptions not being implemented for select(UDP)
This message generates a lot of noise with openntpd. Hide it unless DEBUG is turned on.
This commit is contained in:
parent
70fd8dc785
commit
ca4814c5ad
|
|
@ -316,10 +316,12 @@ unsigned operations;
|
|||
/* Should handle special case when the interface is down */
|
||||
resops |= SR_SELECT_WRITE;
|
||||
}
|
||||
#if DEBUG == 1
|
||||
if (operations & SR_SELECT_EXCEPTION)
|
||||
{
|
||||
printf("udp_select: not implemented for exceptions\n");
|
||||
}
|
||||
#endif
|
||||
return resops;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user