diff options
author | Tor Arntsen <tor@spacetec.no> | 2010-09-18 14:16:49 +0200 |
---|---|---|
committer | Tor Arntsen <tor@spacetec.no> | 2010-09-18 14:27:08 +0200 |
commit | 3208757c1af6e3a46bce786430d9dca2ea6f5e76 (patch) | |
tree | 0654d87b6a2e03d3de51eec5eafd63917072bfea /lib/openldap.c | |
parent | fae19aed8de74e6b01544c314358ff702419ec7d (diff) |
LDAP: Use FALSE instead of bool_false when setting bits.close
bool_false is the internal name used in the setup_once.h definition
we fall back to for non-C99 non-stdbool systems, it's not the actual
name to use in assignments (we use bool_false, bool_true there to
avoid global namespace problems, see comment in setup_once.h).
The correct C99 value to use is 'false', but let's use FALSE as
used elsewhere when assigning to bits.close. FALSE is set equal
to 'false' in setup_once.h when possible.
This fixes a build problem on C99 targets.
Diffstat (limited to 'lib/openldap.c')
-rw-r--r-- | lib/openldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/openldap.c b/lib/openldap.c index 5996876a9..3382c7724 100644 --- a/lib/openldap.c +++ b/lib/openldap.c @@ -165,7 +165,7 @@ static CURLcode ldap_setup(struct connectdata *conn) li = calloc(1, sizeof(ldapconninfo)); li->proto = proto; conn->proto.generic = li; - conn->bits.close = bool_false; + conn->bits.close = FALSE; /* TODO: * - provide option to choose SASL Binds instead of Simple */ |