Reverse ber_strccmp assertion order to avoid ""[1] problems

This commit is contained in:
Kurt Zeilenga 2002-01-16 19:31:25 +00:00
parent 52b05a5b06
commit 1b6811d759

View File

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