inet: silence message about exceptions

. 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.

Change-Id: I1527a9ca2583601d6087456062b4f675c80dd711
This commit is contained in:
Thomas Cort 2013-04-02 02:06:54 +00:00 committed by Ben Gras
parent 15b3d77268
commit f05ad905a8

View File

@ -316,10 +316,12 @@ unsigned operations;
/* Should handle special case when the interface is down */ /* Should handle special case when the interface is down */
resops |= SR_SELECT_WRITE; resops |= SR_SELECT_WRITE;
} }
#if DEBUG == 1
if (operations & SR_SELECT_EXCEPTION) if (operations & SR_SELECT_EXCEPTION)
{ {
printf("udp_select: not implemented for exceptions\n"); printf("udp_select: not implemented for exceptions\n");
} }
#endif
return resops; return resops;
} }