From e88b84d6db23f38c55f4bed1c278d62c38006bb5 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 13 Mar 2003 01:05:40 +0000 Subject: [PATCH] Use BER_BVC --- servers/slapd/globals.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/servers/slapd/globals.c b/servers/slapd/globals.c index 557d8d464d..7c3442ec01 100644 --- a/servers/slapd/globals.c +++ b/servers/slapd/globals.c @@ -7,8 +7,11 @@ #include "portable.h" +#include "lber_pvt.h" + #include "slap.h" + /* * global variables, in general, should be declared in the file * primarily responsible for its management. Configurable globals @@ -16,6 +19,6 @@ * sensible home. */ -const struct berval slap_empty_bv = { 0, "" }; -const struct berval slap_unknown_bv = { sizeof("unknown") - 1, "unknown" }; +const struct berval slap_empty_bv = BER_BVC(""); +const struct berval slap_unknown_bv = BER_BVC("unknown"); -- 2.39.5