summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-05-23 17:58:19 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-05-23 17:58:19 +0000
commit03ffa590b7b2234d72ff587979d51a786810d3ed (patch)
tree2ab37055f92defbf2ed35da264cfa1a2d039c647
parent36d84f4bc1c8b0cbbf17bbcf9451ecf762376471 (diff)
Just a formatting change.
-rw-r--r--src/reqs.c5
1 files 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) {