mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
Is it Friday yet?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@235229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -66,6 +66,11 @@ static force_inline int attribute_pure ast_strlen_zero(const char *s)
|
|||||||
}
|
}
|
||||||
#endif
|
#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:
|
/*! \brief returns the equivalent of logic or for strings:
|
||||||
* first one if not empty, otherwise second one.
|
* first one if not empty, otherwise second one.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user