projects
/
apache
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39a167f
)
Fix a segfault when tmpfiles are encountered while cleaning.
author
Graham Leggett
<minfrin@apache.org>
Wed, 6 Oct 2010 11:03:52 +0000
(11:03 +0000)
committer
Graham Leggett
<minfrin@apache.org>
Wed, 6 Oct 2010 11:03:52 +0000
(11:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1004987
13f79535
-47bb-0310-9956-
ffa450edef68
support/htcacheclean.c
patch
|
blob
|
history
diff --git
a/support/htcacheclean.c
b/support/htcacheclean.c
index 414b7de66230934e73278c803add4bc1810ebfd7..4c9f19178c4bff2a41c8419223e16dc2d247be63 100644
(file)
--- a/
support/htcacheclean.c
+++ b/
support/htcacheclean.c
@@
-341,7
+341,7
@@
static int list_urls(char *path, apr_pool_t *pool, apr_off_t round)
ext = strchr(info.name, '.');
- if (!strcasecmp(ext, CACHE_HEADER_SUFFIX)) {
+ if (
ext &&
!strcasecmp(ext, CACHE_HEADER_SUFFIX)) {
nextpath = apr_pstrcat(p, path, "/", info.name, NULL);