ldap/servers/plugins/acl/acllas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 3155d9ce34ca1caec53762237815e4ed7bb59da6 Author: Rich Megginson rmeggins@redhat.com Date: Mon Apr 26 19:53:15 2010 -0600
Fix too few args for format warning in acllas
Removed unused format arguments from format string
diff --git a/ldap/servers/plugins/acl/acllas.c b/ldap/servers/plugins/acl/acllas.c index 9fbd25b..12cefaf 100644 --- a/ldap/servers/plugins/acl/acllas.c +++ b/ldap/servers/plugins/acl/acllas.c @@ -3545,7 +3545,7 @@ acllas__client_match_URL (struct acl_pblock *aclpb, char *n_clientdn, char *url prefix_len = LDAPS_URL_prefix_len; } else { slapi_log_error (SLAPI_LOG_ACL, plugin_name, - "acllas__client_match_URL: url %s does not include ldap prefix: %s\n", url); + "acllas__client_match_URL: url %s does not have a recognized ldap protocol prefix\n", url); return ACL_FALSE; } rawdn = url + prefix_len; /* ldap(s)://host:port/... or ldap(s):///... */ @@ -3560,7 +3560,7 @@ acllas__client_match_URL (struct acl_pblock *aclpb, char *n_clientdn, char *url size_t hostport_len = 0; if (NULL == rawdn) { slapi_log_error (SLAPI_LOG_ACL, plugin_name, - "acllas__client_match_URL: url %s does not include correct ldap prefix: %s\n", url); + "acllas__client_match_URL: url %s does not have a valid ldap protocol prefix\n", url); return ACL_FALSE; } hostport_len = ++rawdn - tmpp; /* ldap(s)://host:port/... */
389-commits@lists.fedoraproject.org