From 4d0b0cae9e17151e089b9c2f4ea755e8c5937adf Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 17 Dec 2009 20:01:24 +0000 Subject: Fix compilation failure --- lib/ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/ldap.c b/lib/ldap.c index ec9252f56..44cc8e41d 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -582,7 +582,7 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp) if(!conn->data || !conn->data->state.path || conn->data->state.path[0] != '/' || - !checkprefix(conn->protostr, conn->data->change.url)) + !checkprefix("LDAP", conn->data->change.url)) return LDAP_INVALID_SYNTAX; ludp->lud_scope = LDAP_SCOPE_BASE; -- cgit v1.2.3