]> err.no Git - varnish/commitdiff
Missing commit message from previous commit:
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 7 Sep 2006 10:14:43 +0000 (10:14 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 7 Sep 2006 10:14:43 +0000 (10:14 +0000)
Fix a logic bug which allowed storage objects to be trampled on:
the last bucket may contain object smaller than we want.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@947 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/storage_file.c

index 834d121aebfab1ed02b89894d2916324c458a642..4d473645dd878dbb8ec0d4bf6b82f76a833a0460 100644 (file)
@@ -288,7 +288,9 @@ smf_init(struct stevedore *parent, const char *spec)
        smf_initfile(sc, size, 1);
 }
 
-/*--------------------------------------------------------------------*/
+/*--------------------------------------------------------------------
+ * XXX: Temporary sanity checker
+ */
 
 static void
 phk(struct smf_sc *sc, struct smf *sp)