[Asterisk-cvs] asterisk/include/asterisk strings.h,1.12,1.13
russell
russell
Wed Oct 26 15:01:35 CDT 2005
- Previous message: [Asterisk-cvs] asterisk/pbx pbx_ael.c,1.15,1.16
- Next message: [Asterisk-cvs] asterisk app.c, 1.78, 1.79 asterisk.c, 1.185,
1.186 callerid.c, 1.37, 1.38 cdr.c, 1.54, 1.55 config.c, 1.79,
1.80 db.c, 1.24, 1.25 dnsmgr.c, 1.9, 1.10 file.c, 1.79,
1.80 manager.c, 1.129, 1.130 pbx.c, 1.291, 1.292 utils.c, 1.78, 1.79
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv18000/include/asterisk
Modified Files:
strings.h
Log Message:
change ast_strlen_zero to also check for the string to be defined
Index: strings.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/strings.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- strings.h 24 Oct 2005 20:12:06 -0000 1.12
+++ strings.h 26 Oct 2005 18:54:24 -0000 1.13
@@ -32,7 +32,7 @@
static inline int ast_strlen_zero(const char *s)
{
- return (*s == '\0');
+ return (!s || (*s == '\0'));
}
/*!
- Previous message: [Asterisk-cvs] asterisk/pbx pbx_ael.c,1.15,1.16
- Next message: [Asterisk-cvs] asterisk app.c, 1.78, 1.79 asterisk.c, 1.185,
1.186 callerid.c, 1.37, 1.38 cdr.c, 1.54, 1.55 config.c, 1.79,
1.80 db.c, 1.24, 1.25 dnsmgr.c, 1.9, 1.10 file.c, 1.79,
1.80 manager.c, 1.129, 1.130 pbx.c, 1.291, 1.292 utils.c, 1.78, 1.79
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list