Fix compiler warning after fetcher_t.fetch signature change
This commit is contained in:
@@ -101,7 +101,7 @@ static bool parse(LDAP *ldap, LDAPMessage *result, chunk_t *response)
|
|||||||
|
|
||||||
|
|
||||||
METHOD(fetcher_t, fetch, status_t,
|
METHOD(fetcher_t, fetch, status_t,
|
||||||
private_ldap_fetcher_t *this, char *url, chunk_t *result)
|
private_ldap_fetcher_t *this, char *url, void *userdata)
|
||||||
{
|
{
|
||||||
LDAP *ldap;
|
LDAP *ldap;
|
||||||
LDAPURLDesc *lurl;
|
LDAPURLDesc *lurl;
|
||||||
@@ -110,6 +110,7 @@ METHOD(fetcher_t, fetch, status_t,
|
|||||||
int ldap_version = LDAP_VERSION3;
|
int ldap_version = LDAP_VERSION3;
|
||||||
struct timeval timeout;
|
struct timeval timeout;
|
||||||
status_t status = FAILED;
|
status_t status = FAILED;
|
||||||
|
chunk_t *result = userdata;
|
||||||
|
|
||||||
if (!strneq(url, "ldap", 4))
|
if (!strneq(url, "ldap", 4))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user