[mod-xhtml-neg-cvs] mod_xhtml_neg-2.0 mod_xhtml_neg.c,1.28,1.29
Brought to you by:
run2000
From: <ru...@us...> - 2004-04-16 12:00:02
|
Update of /cvsroot/mod-xhtml-neg/mod_xhtml_neg-2.0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13001 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-2.0/mod_xhtml_neg.c,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** mod_xhtml_neg.c 15 Apr 2004 13:59:39 -0000 1.28 --- mod_xhtml_neg.c 16 Apr 2004 11:59:53 -0000 1.29 *************** *** 150,157 **** * * @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) /** --- 150,157 ---- * * @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')) /** |