From e25287a90f6266f9823740730e793ccf32515a22 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 5 Sep 1999 22:13:22 +0000 Subject: [PATCH] Fix = vs == bug --- servers/slapd/result.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 6b8c9122d0..7580a579e0 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -84,7 +84,7 @@ static void trim_refs_urls( { unsigned j; for( j=sizeof("ldap://"); jbv_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; -- 2.39.5