summaryrefslogtreecommitdiff
path: root/content/llcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/llcache.c')
-rw-r--r--content/llcache.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/content/llcache.c b/content/llcache.c
index c804b73a0..0bf3979a0 100644
--- a/content/llcache.c
+++ b/content/llcache.c
@@ -608,16 +608,15 @@ llcache_fetch_parse_cache_control(llcache_object *object, char *value)
start++;
}
- if (start < comma) {
- /* Skip over '=' */
- start++;
- }
-
+ /* Skip over '=' */
+ start++;
#define SKIP_ST(p) while (*p != '\0' && (*p == ' ' || *p == '\t')) p++
- /* Skip whitespace */
- SKIP_ST(start);
+ if (start < comma) {
+ /* Skip whitespace */
+ SKIP_ST(start);
+ }
if (start < comma) {
object->cache.max_age = atoi(start);