summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvenaas <venaas>2007-05-22 07:58:19 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-05-22 07:58:19 +0000
commit06185018b7e99410939959483a5529820cfea35d (patch)
tree1aabc1d2acc99441371d504c0a879c9f7c55da9d
parentdf0d41a4c20fbc77f7568585b7e62861cbeb0cc3 (diff)
fixed harmless expiry timer issue
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@94 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r--radsecproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 7b512d7..02cf142 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -1411,7 +1411,7 @@ void *clientwr(void *arg) {
}
gettimeofday(&now, NULL);
- if (now.tv_sec <= rq->expiry.tv_sec) {
+ if (now.tv_sec < rq->expiry.tv_sec) {
if (!timeout.tv_sec || rq->expiry.tv_sec < timeout.tv_sec)
timeout.tv_sec = rq->expiry.tv_sec;
pthread_mutex_unlock(&server->newrq_mutex);