mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
Use BER_BVC
This commit is contained in:
parent
c4feadbd4f
commit
e88b84d6db
1 changed files with 5 additions and 2 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue