mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
add null berval initializer (should replace tons of { 0, NULL})
This commit is contained in:
parent
87f092bc49
commit
3a9347a5dc
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue