Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Robert Dubner
OpenLDAP
Commits
a0e158c7
Commit
a0e158c7
authored
Nov 29, 2003
by
Pierangelo Masarati
Browse files
clarify comments
parent
044d46aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/librewrite/subst.c
View file @
a0e158c7
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment