From b3827bbdc24c6f12d82e7e68fa36b0714c68e4b9 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 8 Oct 2007 07:49:26 +0000 Subject: [PATCH] comments/style git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2081 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_acceptor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_acceptor.c b/varnish-cache/bin/varnishd/cache_acceptor.c index c56f7178..4ef5a3db 100644 --- a/varnish-cache/bin/varnishd/cache_acceptor.c +++ b/varnish-cache/bin/varnishd/cache_acceptor.c @@ -226,9 +226,9 @@ vca_pollsession(struct sess *sp) i = HTC_Rx(sp->htc); /* XXX: fix retval */ - if (i == 0) + if (i == 0) /* more needed */ return (-1); - if (i == 1) + if (i == 1) /* Yes, done */ return (0); vca_close_session(sp, "err/poll"); return (1); @@ -259,7 +259,7 @@ vca_return_session(struct sess *sp) if (sp->fd < 0) SES_Delete(sp); else - assert(sizeof sp == write(vca_pipes[1], &sp, sizeof sp)); + assert(sizeof sp == write(vca_pipes[1], &sp, sizeof sp)); } -- 2.39.5