From 3a9347a5dc939ca457d9c0699b3df15a52b64862 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 29 Aug 2002 10:42:13 +0000 Subject: [PATCH] add null berval initializer (should replace tons of { 0, NULL}) --- include/lber_pvt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/lber_pvt.h b/include/lber_pvt.h index 6fd8eb2c6b..ba77229bb7 100644 --- a/include/lber_pvt.h +++ b/include/lber_pvt.h @@ -86,7 +86,8 @@ ber_pvt_socket_set_nonblock LDAP_P(( ber_socket_t sd, int nb )); #define ber_bvchr(bv,c) \ memchr( (bv)->bv_val, (c), (bv)->bv_len ) -#define BER_BVC(x) { sizeof( (x) ) - 1, (x) } +#define BER_BVC(x) { sizeof( (x) ) - 1, (x) } +#define BER_BVNULL { 0L, NULL } LDAP_END_DECL -- 2.39.5