mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-01 11:29:27 -05:00
ITS#6270, refix patch from ITS#5511
This commit is contained in:
parent
91909d3a75
commit
111b27cfd4
1 changed files with 6 additions and 6 deletions
|
|
@ -1074,13 +1074,13 @@ unique_add(
|
|||
domain = domain->next )
|
||||
{
|
||||
unique_domain_uri *uri;
|
||||
int ks = STRLENOF("(|)");
|
||||
|
||||
for ( uri = domain->uri;
|
||||
uri;
|
||||
uri = uri->next )
|
||||
{
|
||||
int len;
|
||||
int ks = 0;
|
||||
|
||||
if ( uri->ndn.bv_val
|
||||
&& !dnIsSuffix( &op->o_req_ndn, &uri->ndn ))
|
||||
|
|
@ -1117,7 +1117,7 @@ unique_add(
|
|||
if ( !ks ) continue;
|
||||
|
||||
/* terminating NUL */
|
||||
ks++;
|
||||
ks += sizeof("(|)");
|
||||
|
||||
if ( uri->filter.bv_val && uri->filter.bv_len )
|
||||
ks += uri->filter.bv_len + STRLENOF ("(&)");
|
||||
|
|
@ -1195,13 +1195,13 @@ unique_modify(
|
|||
domain = domain->next )
|
||||
{
|
||||
unique_domain_uri *uri;
|
||||
int ks = STRLENOF("(|)");
|
||||
|
||||
for ( uri = domain->uri;
|
||||
uri;
|
||||
uri = uri->next )
|
||||
{
|
||||
int len;
|
||||
int ks = 0;
|
||||
|
||||
if ( uri->ndn.bv_val
|
||||
&& !dnIsSuffix( &op->o_req_ndn, &uri->ndn ))
|
||||
|
|
@ -1228,7 +1228,7 @@ unique_modify(
|
|||
if ( !ks ) continue;
|
||||
|
||||
/* terminating NUL */
|
||||
ks++;
|
||||
ks += sizeof("(|)");
|
||||
|
||||
if ( uri->filter.bv_val && uri->filter.bv_len )
|
||||
ks += uri->filter.bv_len + STRLENOF ("(&)");
|
||||
|
|
@ -1309,13 +1309,13 @@ unique_modrdn(
|
|||
domain = domain->next )
|
||||
{
|
||||
unique_domain_uri *uri;
|
||||
int ks = STRLENOF("(|)");
|
||||
|
||||
for ( uri = domain->uri;
|
||||
uri;
|
||||
uri = uri->next )
|
||||
{
|
||||
int i, len;
|
||||
int ks = 0;
|
||||
|
||||
if ( uri->ndn.bv_val
|
||||
&& !dnIsSuffix( &op->o_req_ndn, &uri->ndn )
|
||||
|
|
@ -1364,7 +1364,7 @@ unique_modrdn(
|
|||
if ( !ks ) continue;
|
||||
|
||||
/* terminating NUL */
|
||||
ks++;
|
||||
ks += sizeof("(|)");
|
||||
|
||||
if ( uri->filter.bv_val && uri->filter.bv_len )
|
||||
ks += uri->filter.bv_len + STRLENOF ("(&)");
|
||||
|
|
|
|||
Loading…
Reference in a new issue