diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-06-19 12:39:12 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-07-08 18:49:30 +0200 |
commit | d27f225d9a1064b5883002a293d6adddfbc99a07 (patch) | |
tree | 1350ed1a7ccf44fdcfefac02e204406eaddb0b69 /src/libstrongswan/plugins/ldap | |
parent | f460facdca9995e32d1c69f84945a306c6063a40 (diff) | |
download | strongswan-d27f225d9a1064b5883002a293d6adddfbc99a07.tar.bz2 strongswan-d27f225d9a1064b5883002a293d6adddfbc99a07.tar.xz |
Use strpfx() helper where appropriate
Diffstat (limited to 'src/libstrongswan/plugins/ldap')
-rw-r--r-- | src/libstrongswan/plugins/ldap/ldap_fetcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/ldap/ldap_fetcher.c b/src/libstrongswan/plugins/ldap/ldap_fetcher.c index 40b6d1f63..fe4c55545 100644 --- a/src/libstrongswan/plugins/ldap/ldap_fetcher.c +++ b/src/libstrongswan/plugins/ldap/ldap_fetcher.c @@ -112,7 +112,7 @@ METHOD(fetcher_t, fetch, status_t, status_t status = FAILED; chunk_t *result = userdata; - if (!strneq(url, "ldap", 4)) + if (!strpfx(url, "ldap")) { return NOT_SUPPORTED; } |