add null berval initializer (should replace tons of { 0, NULL})

This commit is contained in:
Pierangelo Masarati 2002-08-29 10:42:13 +00:00
parent 87f092bc49
commit 3a9347a5dc

View file

@ -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