mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-06 15:00:40 +08:00
Reverse ber_strccmp assertion order to avoid ""[1] problems
This commit is contained in:
parent
52b05a5b06
commit
1b6811d759
@ -81,7 +81,7 @@ ber_pvt_socket_set_nonblock LDAP_P(( ber_socket_t sd, int nb ));
|
||||
( (v1)->bv_len == 1 && (v1)->bv_val[0] == (c) )
|
||||
|
||||
#define ber_strccmp(s,c) \
|
||||
((s)[1] == '\0' && (s)[0] == (c) )
|
||||
( (s)[0] == (c) && (s)[1] == '\0' )
|
||||
|
||||
LDAP_END_DECL
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user