diff options
author | Martin Willi <martin@revosec.ch> | 2011-04-11 18:56:08 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2011-04-12 09:29:24 +0200 |
commit | f486bf2666fa347733bc9d96ec99c9dfead63312 (patch) | |
tree | 87e19495bfcf812277d3f82f94ff16cb590b6c32 /src/libstrongswan/plugins/ldap | |
parent | 7bc718ff3bb1ad80a265e3249378f0d179005fc6 (diff) | |
download | strongswan-f486bf2666fa347733bc9d96ec99c9dfead63312.tar.bz2 strongswan-f486bf2666fa347733bc9d96ec99c9dfead63312.tar.xz |
Fix compiler warning after fetcher_t.fetch signature change
Diffstat (limited to 'src/libstrongswan/plugins/ldap')
-rw-r--r-- | src/libstrongswan/plugins/ldap/ldap_fetcher.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/ldap/ldap_fetcher.c b/src/libstrongswan/plugins/ldap/ldap_fetcher.c index e6c592217..fc6114b0a 100644 --- a/src/libstrongswan/plugins/ldap/ldap_fetcher.c +++ b/src/libstrongswan/plugins/ldap/ldap_fetcher.c @@ -101,7 +101,7 @@ static bool parse(LDAP *ldap, LDAPMessage *result, chunk_t *response) 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; LDAPURLDesc *lurl; @@ -110,6 +110,7 @@ METHOD(fetcher_t, fetch, status_t, int ldap_version = LDAP_VERSION3; struct timeval timeout; status_t status = FAILED; + chunk_t *result = userdata; if (!strneq(url, "ldap", 4)) { |