Commit d8fee03f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

polish


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@482 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent a4430fe4
......@@ -295,7 +295,8 @@ DOT lookup2 -> MISS [label="miss", style=bold]
static int
cnt_lookup(struct sess *sp)
{
sp->obj = NULL;
assert(sp->obj == NULL);
sp->step = STP_LOOKUP2;
return (0);
}
......@@ -307,7 +308,7 @@ cnt_lookup2(struct sess *sp)
/*
* We don't assign to sp->obj directly because it is used
* to store state when we encounter a busy object.
* to cache state when we encounter a busy object.
*/
o = HSH_Lookup(sp);
......@@ -336,7 +337,6 @@ cnt_lookup2(struct sess *sp)
VSL(SLT_Hit, sp->fd, "%u", sp->obj->xid);
}
sp->step = STP_HIT;
HERE();
return (0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment