From 6c817bc60f068f468d2f51583dd0f2e32e04febb Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 30 Sep 2007 19:54:06 +0000 Subject: [PATCH] We may not have a worker thread here, we could be called from the acceptor code on a timeout. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2060 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_acceptor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/cache_acceptor.c b/varnish-cache/bin/varnishd/cache_acceptor.c index ed0cdaab..c56f7178 100644 --- a/varnish-cache/bin/varnishd/cache_acceptor.c +++ b/varnish-cache/bin/varnishd/cache_acceptor.c @@ -241,7 +241,7 @@ vca_close_session(struct sess *sp, const char *why) { int i; - WSP(sp, SLT_SessionClose, "%s", why); + VSL(SLT_SessionClose, sp->id, "%s", why); if (sp->fd >= 0) { i = close(sp->fd); assert(i == 0 || errno != EBADF); /* XXX EINVAL seen */ -- 2.39.5