Index: include/asterisk/utils.h =================================================================== RCS file: /usr/cvsroot/asterisk/include/asterisk/utils.h,v retrieving revision 1.1 diff -u -p -r1.1 utils.h --- include/asterisk/utils.h 3 May 2004 04:31:11 -0000 1.1 +++ include/asterisk/utils.h 4 May 2004 15:36:52 -0000 @@ -14,7 +14,12 @@ static inline int ast_strlen_zero(const char *s) { - return (*s == '\0'); + if (!s) { + return(-1); + } + else { + return (*s == '\0'); + } } #endif