mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Gisle: minor fix
This commit is contained in:
parent
12d5e33dc9
commit
4345c7a712
@ -104,7 +104,9 @@ typedef void * (*dynafunc)(void *input);
|
|||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
*/
|
*/
|
||||||
static void *libldap = NULL;
|
static void *libldap = NULL;
|
||||||
|
#ifndef WIN32
|
||||||
static void *liblber = NULL;
|
static void *liblber = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
static int DynaOpen(const char **mod_name)
|
static int DynaOpen(const char **mod_name)
|
||||||
{
|
{
|
||||||
@ -500,7 +502,7 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp)
|
|||||||
return LDAP_NO_MEMORY;
|
return LDAP_NO_MEMORY;
|
||||||
|
|
||||||
p = strchr(ludp->lud_dn, '?');
|
p = strchr(ludp->lud_dn, '?');
|
||||||
LDAP_TRACE (("DN '%.*s'\n", p ? (p-ludp->lud_dn) : strlen(ludp->lud_dn),
|
LDAP_TRACE (("DN '%.*s'\n", p ? (size_t)(p-ludp->lud_dn) : strlen(ludp->lud_dn),
|
||||||
ludp->lud_dn));
|
ludp->lud_dn));
|
||||||
|
|
||||||
if (!p)
|
if (!p)
|
||||||
|
Loading…
Reference in New Issue
Block a user