Use the sreadfrom() wrapper to replace recvfrom() in our code.

This commit is contained in:
Yang Tse
2008-07-21 03:06:07 +00:00
parent bffe69a151
commit 1b37baf656
5 changed files with 31 additions and 16 deletions

View File

@@ -229,6 +229,13 @@ struct timeval {
#endif /* HAVE_RECVFROM */
#ifdef RECVFROM_TYPE_ARG6_IS_VOID
# define RECVFROM_ARG6_T unsigned int
#else
# define RECVFROM_ARG6_T RECVFROM_TYPE_ARG6
#endif
/*
* Uppercase macro versions of ANSI/ISO is*() functions/macros which
* avoid negative number inputs with argument byte codes > 127.