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
openldap
OpenLDAP
Commits
f0816ec5
Commit
f0816ec5
authored
Apr 14, 2003
by
Howard Chu
Browse files
Fix value_find_ex result
parent
4739b58f
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/value.c
View file @
f0816ec5
...
...
@@ -235,7 +235,6 @@ int value_find_ex(
}
}
rc
=
LDAP_NO_SUCH_ATTRIBUTE
;
for
(
i
=
0
;
vals
[
i
].
bv_val
!=
NULL
;
i
++
)
{
int
match
;
const
char
*
text
;
...
...
@@ -244,10 +243,11 @@ int value_find_ex(
&
vals
[
i
],
nval
.
bv_val
==
NULL
?
val
:
&
nval
,
&
text
);
if
(
rc
==
LDAP_SUCCESS
&&
match
==
0
)
{
break
;
sl_free
(
nval
.
bv_val
,
ctx
);
return
rc
;
}
}
sl_free
(
nval
.
bv_val
,
ctx
);
return
rc
;
return
LDAP_NO_SUCH_ATTRIBUTE
;
}
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