mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 07:38:49 -05:00
openldap: fix checksrc nits
This commit is contained in:
parent
ff07f07cc8
commit
00cda0f9b3
@ -227,7 +227,7 @@ static CURLcode ldap_connect(struct connectdata *conn, bool *done)
|
||||
static int do_trace = 0;
|
||||
const char *env = getenv("CURL_OPENLDAP_TRACE");
|
||||
do_trace = (env && strtol(env, NULL, 10) > 0);
|
||||
if (do_trace) {
|
||||
if(do_trace) {
|
||||
ldap_set_option(li->ld, LDAP_OPT_DEBUG_LEVEL, &do_trace);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user