From: phk Date: Thu, 20 Jul 2006 13:33:22 +0000 (+0000) Subject: upd X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e8c663d07275841bb33ef9c974426d4d6e44594;p=varnish upd git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@524 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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);