Update of /cvsroot/mod-xhtml-neg/mod_xhtml_neg
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12821
Modified Files:
mod_xhtml_neg.c
Log Message:
Simplify the mod_xhtml_strempty macro slightly.
Index: mod_xhtml_neg.c
===================================================================
RCS file: /cvsroot/mod-xhtml-neg/mod_xhtml_neg/mod_xhtml_neg.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** mod_xhtml_neg.c 15 Apr 2004 13:59:22 -0000 1.42
--- mod_xhtml_neg.c 16 Apr 2004 11:59:01 -0000 1.43
***************
*** 147,154 ****
*
* @param str a string pointer, possibly NULL, to be tested
! * @return non-zero if the pointer is NULL, or points to a zero-length
! * string, otherwise zero
*/
! #define mod_xhtml_strempty(str) ((((str) == NULL) || (*(str) == '\0')) ? 1 : 0)
/**
--- 147,154 ----
*
* @param str a string pointer, possibly NULL, to be tested
! * @return a true value if the pointer is NULL, or points to a zero-length
! * string, otherwise a false value
*/
! #define mod_xhtml_strempty(str) (((str) == NULL) || (*(str) == '\0'))
/**
|