mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 17:19:43 -05:00
Reverse ber_strccmp assertion order to avoid ""[1] problems
This commit is contained in:
parent
52b05a5b06
commit
1b6811d759
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue