[asterisk-commits] pabelanger: branch pabelanger/FRACK! r308195 - /team/pabelanger/FRACK!/includ...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 16 16:45:09 CST 2011


Author: pabelanger
Date: Wed Feb 16 16:45:06 2011
New Revision: 308195

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=308195
Log:
move code around :)

Modified:
    team/pabelanger/FRACK!/include/asterisk/select.h

Modified: team/pabelanger/FRACK!/include/asterisk/select.h
URL: http://svnview.digium.com/svn/asterisk/team/pabelanger/FRACK%21/include/asterisk/select.h?view=diff&rev=308195&r1=308194&r2=308195
==============================================================================
--- team/pabelanger/FRACK!/include/asterisk/select.h (original)
+++ team/pabelanger/FRACK!/include/asterisk/select.h Wed Feb 16 16:45:06 2011
@@ -74,8 +74,6 @@
  */
 static inline int ast_select(int nfds, ast_fdset *rfds, ast_fdset *wfds, ast_fdset *efds, struct timeval *tvp)
 {
-	ast_log(LOG_DEBUG, "nfds is (%d)\n", nfds);
-	ast_log(LOG_DEBUG, "ast_FD_SETSIZE is (%d)\n", ast_FD_SETSIZE);
 #ifdef __linux__
 	ast_assert((unsigned int) nfds <= ast_FD_SETSIZE);
 	return select(nfds, (fd_set *) rfds, (fd_set *) wfds, (fd_set *) efds, tvp);
@@ -83,6 +81,8 @@
 	int save_errno = 0;
 
 	ast_assert((unsigned int) nfds <= ast_FD_SETSIZE);
+	ast_log(LOG_DEBUG, "nfds is (%d)\n", nfds);
+	ast_log(LOG_DEBUG, "ast_FD_SETSIZE is (%d)\n", ast_FD_SETSIZE);
 	if (tvp) {
 		struct timeval tv, tvstart, tvend, tvlen;
 		int res;




More information about the asterisk-commits mailing list