Skip to content
Snippets Groups Projects
Commit e25287a9 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix = vs == bug

parent 07b9eb68
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment