]> git.sur5r.net Git - openldap/blobdiff - libraries/librewrite/map.c
Sync with HEAD
[openldap] / libraries / librewrite / map.c
index c94c7bf53090e3480f402db660c7a3d0c1fd043b..d8ba01cdb23b70dfc0edb554b76f0a86d96536f6 100644 (file)
@@ -51,7 +51,7 @@ rewrite_map_parse(
         * Go to the end of the map invocation (the right closing brace)
         */
        for ( p = string, cnt = 1; p[ 0 ] != '\0' && cnt > 0; p++ ) {
-               if ( p[ 0 ] == REWRITE_SUBMATCH_ESCAPE ) {
+               if ( IS_REWRITE_SUBMATCH_ESCAPE( p[ 0 ] ) ) {
                        /*
                         * '%' marks the beginning of a new map
                         */