From 03ffa590b7b2234d72ff587979d51a786810d3ed Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Wed, 23 May 2001 17:58:19 +0000 Subject: Just a formatting change. --- src/reqs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/reqs.c b/src/reqs.c index cea4249..0b36238 100644 --- a/src/reqs.c +++ b/src/reqs.c @@ -1,4 +1,4 @@ -/* $Id: reqs.c,v 1.11 2001-01-15 17:11:57 rjkaes Exp $ +/* $Id: reqs.c,v 1.12 2001-05-23 17:58:19 rjkaes Exp $ * * This is where all the work in tinyproxy is actually done. Incoming * connections have a new thread created for them. The thread then @@ -519,8 +519,9 @@ static void relay_connection(struct conn_s *connptr) log(LOG_INFO, "Idle Timeout (before select) %g > %u", tdiff, config.idletimeout); return; } - + ret = select(maxfd + 1, &rset, &wset, NULL, &tv); + if (ret == 0) { tdiff = difftime(time(NULL), last_access); if (tdiff > config.idletimeout) { -- cgit v1.2.3