aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-12-17 20:01:24 +0000
committerYang Tse <yangsita@gmail.com>2009-12-17 20:01:24 +0000
commit4d0b0cae9e17151e089b9c2f4ea755e8c5937adf (patch)
treecfc914cf9137c8379ef108e619e5ec3e84132497 /lib
parent8343cb8910e2d168438421e5f238095c48cca4a7 (diff)
Fix compilation failure
Diffstat (limited to 'lib')
-rw-r--r--lib/ldap.c2
1 files changed, 1 insertions, 1 deletions
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;