1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-05 16:55:50 +03:00
Optimize check for empty strings


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1778067 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jim Jagielski
2017-01-09 22:08:01 +00:00
parent db852eb4ce
commit cc97ce3e52
8 changed files with 24 additions and 24 deletions

View File

@@ -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];