aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/ldap
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-06-19 12:39:12 +0200
committerTobias Brunner <tobias@strongswan.org>2013-07-08 18:49:30 +0200
commitd27f225d9a1064b5883002a293d6adddfbc99a07 (patch)
tree1350ed1a7ccf44fdcfefac02e204406eaddb0b69 /src/libstrongswan/plugins/ldap
parentf460facdca9995e32d1c69f84945a306c6063a40 (diff)
downloadstrongswan-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.c2
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;
}