]> err.no Git - varnish/commitdiff
obj->lru_stamp is on TIM_real() not TIM_mono().
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 23 Feb 2008 19:43:57 +0000 (19:43 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 23 Feb 2008 19:43:57 +0000 (19:43 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2532 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_vrt.c

index 90ed5bae360f4b5d4bf7b9fc8a5a50bfb3bcc54c..9534a80b616f2a3b6f9ff0686a42b9578036ab0e 100644 (file)
@@ -526,7 +526,7 @@ VRT_r_now(const struct sess *sp)
 {
 
        (void)sp;
-       return (TIM_mono());
+       return (TIM_real());
 }
 
 double
@@ -535,7 +535,7 @@ VRT_r_obj_lastuse(const struct sess *sp)
 
        CHECK_OBJ_NOTNULL(sp, SESS_MAGIC);
        CHECK_OBJ_NOTNULL(sp->obj, OBJECT_MAGIC);       /* XXX */
-       return (TIM_mono() - sp->obj->lru_stamp);
+       return (TIM_real() - sp->obj->lru_stamp);
 }
 
 int