mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
Fix = vs == bug
This commit is contained in:
parent
07b9eb68a3
commit
e25287a90f
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ static void trim_refs_urls(
|
|||
{
|
||||
unsigned j;
|
||||
for( j=sizeof("ldap://"); j<refs[i]->bv_len ; j++ ) {
|
||||
if( refs[i]->bv_val[j] = '/' ) {
|
||||
if( refs[i]->bv_val[j] == '/' ) {
|
||||
refs[i]->bv_val[j] = '\0';
|
||||
refs[i]->bv_len = j;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue