]> git.sur5r.net Git - openldap/commitdiff
Fix = vs == bug
authorKurt Zeilenga <kurt@openldap.org>
Sun, 5 Sep 1999 22:13:22 +0000 (22:13 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 5 Sep 1999 22:13:22 +0000 (22:13 +0000)
servers/slapd/result.c

index 6b8c9122d0c680b9332795a0754553d3aefd8185..7580a579e08d44e4948ec318f25ff43cccd5d449 100644 (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;