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

comments/style


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2081 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 75fcbd6d
......@@ -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));
}
......
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