From 0e8c663d07275841bb33ef9c974426d4d6e44594 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 20 Jul 2006 13:33:22 +0000 Subject: [PATCH] upd git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@524 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_session.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_session.c b/varnish-cache/bin/varnishd/cache_session.c index eea9d26e..c451b457 100644 --- a/varnish-cache/bin/varnishd/cache_session.c +++ b/varnish-cache/bin/varnishd/cache_session.c @@ -144,9 +144,8 @@ void SES_RelSrcAddr(struct sess *sp) { - if (0 && sp->srcaddr == NULL) { - /* XXX who comes this way ? */ - VSL(SLT_Debug, sp->fd, "had no srcaddr"); + if (sp->srcaddr == NULL) { + /* If we never get to work pool (illegal req) */ return; } assert(sp->srcaddr != NULL); -- 2.39.5