Skip to content
Snippets Groups Projects
Commit 1b6811d7 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

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

parent 52b05a5b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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