]> granicus.if.org Git - apache/commit
Improve macro definition in order to avoid potential precedence issues.
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 7 Sep 2015 05:24:43 +0000 (05:24 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 7 Sep 2015 05:24:43 +0000 (05:24 +0000)
commitdcad11179f000025953df229eecd97f265c73e78
tree5d21858b077d955b366862448ce94b0ee53d30c6
parentc888b523097785ecee2766e58768c96f60da4cf4
Improve macro definition in order to avoid potential precedence issues.

For example, sparse spotted that the following line was spurious:
        newcond->flags &= ~CONDFLAG_NOCASE;
It this particular case, 2 bits were resetted (instead of only 1). This was harmless because the first bit (i.e. CONDFLAG_NONE) is never tested as-is.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1701545 13f79535-47bb-0310-9956-ffa450edef68
modules/mappers/mod_rewrite.c