summaryrefslogtreecommitdiff
path: root/modules/ldap
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2017-01-09 22:08:01 +0000
committerJim Jagielski <jim@apache.org>2017-01-09 22:08:01 +0000
commitcc97ce3e52770d69c6de9aa7f2be85fae69509f7 (patch)
tree00a4531671abced6d59fd7e11952cf7d7683619f /modules/ldap
parentdb852eb4ce3ae189908aea11b6571aff88475863 (diff)
downloadhttpd-cc97ce3e52770d69c6de9aa7f2be85fae69509f7.tar.gz
https://bz.apache.org/bugzilla/show_bug.cgi?id=58855
Optimize check for empty strings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1778067 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ldap')
-rw-r--r--modules/ldap/util_ldap_cache_mgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ldap/util_ldap_cache_mgr.c b/modules/ldap/util_ldap_cache_mgr.c
index 4a0cc9767b..6e1e7f4a91 100644
--- a/modules/ldap/util_ldap_cache_mgr.c
+++ b/modules/ldap/util_ldap_cache_mgr.c
@@ -674,7 +674,7 @@ char *util_ald_cache_display(request_rec *r, util_ldap_state_t *st)
return NULL;
}
- if (r->args && strlen(r->args)) {
+ if (r->args && *r->args) {
char cachetype[5], lint[2];
unsigned int id, off;
char date_str[APR_CTIME_LEN];