Skip to content
Snippets Groups Projects
Commit 3a9347a5 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

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

parent 87f092bc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment