Fix = vs == bug

This commit is contained in:
Kurt Zeilenga 1999-09-05 22:13:22 +00:00
parent 07b9eb68a3
commit e25287a90f

View file

@ -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;