diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-05-23 17:58:19 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-05-23 17:58:19 +0000 |
commit | 03ffa590b7b2234d72ff587979d51a786810d3ed (patch) | |
tree | 2ab37055f92defbf2ed35da264cfa1a2d039c647 | |
parent | 36d84f4bc1c8b0cbbf17bbcf9451ecf762376471 (diff) | |
download | tinyproxy-03ffa590b7b2234d72ff587979d51a786810d3ed.tar.gz tinyproxy-03ffa590b7b2234d72ff587979d51a786810d3ed.zip |
Just a formatting change.
Diffstat (limited to '')
-rw-r--r-- | src/reqs.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) { |