#include "portable.h"
#include <stdio.h>
+#include <ac/string.h>
#include "slap.h"
#include "back-monitor.h"
if ( l[ i ]->sl_is_tls ) {
struct berval bv;
- bv.bv_val = "TLS";
- bv.bv_len = sizeof("TLS")-1;
-
+ BER_BVSTR( &bv, "TLS" );
attr_merge_normalize_one( e, mi->mi_ad_monitoredInfo,
&bv, NULL );
}