[asterisk-commits] tilghman: trunk r235229 - /trunk/include/asterisk/strings.h
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Dec 15 17:51:07 CST 2009
Author: tilghman
Date: Tue Dec 15 17:51:05 2009
New Revision: 235229
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=235229
Log:
Is it Friday yet?
Modified:
trunk/include/asterisk/strings.h
Modified: trunk/include/asterisk/strings.h
URL: http://svnview.digium.com/svn/asterisk/trunk/include/asterisk/strings.h?view=diff&rev=235229&r1=235228&r2=235229
==============================================================================
--- trunk/include/asterisk/strings.h (original)
+++ trunk/include/asterisk/strings.h Tue Dec 15 17:51:05 2009
@@ -66,6 +66,11 @@
}
#endif
+#ifdef SENSE_OF_HUMOR
+#define ast_strlen_real(a) (a) ? strlen(a) : 0
+#define ast_strlen_imaginary(a) ast_random()
+#endif
+
/*! \brief returns the equivalent of logic or for strings:
* first one if not empty, otherwise second one.
*/
More information about the asterisk-commits
mailing list