summaryrefslogtreecommitdiffstats
path: root/modules/cache
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2017-01-06 10:59:32 +0100
committerChristophe Jaillet <jailletc36@apache.org>2017-01-06 10:59:32 +0100
commita309dd8ef3f8a909409ce9dfd1ab26b0f187bf1e (patch)
tree49274ace3edf494eb624e620d776de8970238866 /modules/cache
parentUse apr_pstrmemdup instead of apr_pstrndup when applicable (diff)
downloadapache2-a309dd8ef3f8a909409ce9dfd1ab26b0f187bf1e.tar.xz
apache2-a309dd8ef3f8a909409ce9dfd1ab26b0f187bf1e.zip
Remove a useless break + tiny style fix (missing space)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1777557 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cache')
-rw-r--r--modules/cache/cache_util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/cache/cache_util.c b/modules/cache/cache_util.c
index f86d023bb9..0074b10002 100644
--- a/modules/cache/cache_util.c
+++ b/modules/cache/cache_util.c
@@ -640,7 +640,7 @@ int cache_check_freshness(cache_handle_t *h, cache_request_rec *cache,
/* extract max-stale */
if (cache->control_in.max_stale) {
- if(cache->control_in.max_stale_value != -1) {
+ if (cache->control_in.max_stale_value != -1) {
maxstale = cache->control_in.max_stale_value;
}
else {
@@ -1141,7 +1141,6 @@ static int cache_control_remove(request_rec *r, const char *cc_header,
}
found = 1;
}
- break;
}
break;
}