From: Kurt Zeilenga Date: Sun, 5 Sep 1999 22:13:22 +0000 (+0000) Subject: Fix = vs == bug X-Git-Tag: TWEB_OL_BASE~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e25287a90f6266f9823740730e793ccf32515a22;p=openldap Fix = vs == bug --- 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;