]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/bconfig.c
Fixup for win64 commit
[openldap] / servers / slapd / bconfig.c
index 9d49d2b21ba1688b9d45d006b5aa8cf93e23ca2e..beef2edaf5e038ad8fe8fea85cfd539b23432952 100644 (file)
@@ -3661,7 +3661,8 @@ loglevel2bvarray( int l, BerVarray *bva )
        }
 
        if ( l == 0 ) {
-               return value_add_one( bva, ber_bvstr( "0" ) );
+               struct berval bv = BER_BVC("0");
+               return value_add_one( bva, &bv );
        }
 
        return mask_to_verbs( loglevel_ops, l, bva );