]> err.no Git - varnish/commitdiff
editor-bogon: add missing ')'
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 21 Jun 2008 18:55:42 +0000 (18:55 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 21 Jun 2008 18:55:42 +0000 (18:55 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2759 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/rfc2616.c

index 52762aa91f622fbb3de5b660b7811c18544dbac0..990b05bf398d9f1da7fc895d95d608bd53b2b6e3 100644 (file)
@@ -112,7 +112,7 @@ RFC2616_Ttl(const struct sess *sp, const struct http *hp, struct object *obj)
        u1 = u2 = 0;
        if ((http_GetHdrField(hp, H_Cache_Control, "s-maxage", &p) ||
            http_GetHdrField(hp, H_Cache_Control, "max-age", &p)) &&
-           p != NULL {
+           p != NULL) {
                u1 = strtoul(p, NULL, 0);
                u2 = 0;
                if (http_GetHdr(hp, H_Age, &p)) {