]> git.sur5r.net Git - openldap/commitdiff
clarify comments
authorPierangelo Masarati <ando@openldap.org>
Sat, 29 Nov 2003 11:10:16 +0000 (11:10 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 29 Nov 2003 11:10:16 +0000 (11:10 +0000)
libraries/librewrite/subst.c

index 9c7421aedb671073f0cdf3a3643e998695690550..5b9437f1aa63cf790e410bbc1df360dd7eb663e6 100644 (file)
@@ -389,8 +389,7 @@ rewrite_subst_apply(
        }
        
        /*
-         * Alloc result buffer as big as the constant part 
-         * of the subst pattern and initialize it
+         * Alloc result buffer
          */
        l += subst->lt_subs_len;
        res = malloc( l + 1 );
@@ -400,7 +399,7 @@ rewrite_subst_apply(
        }
 
        /*
-        * Apply submatches (possibly resolved thru maps
+        * Apply submatches (possibly resolved thru maps)
         */
         for ( n = 0, cl = 0; n < subst->lt_num_submatch; n++ ) {
                if ( subst->lt_subs[ n ].bv_val != NULL ) {