diff options
-rw-r--r-- | radsecproxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index b12de9a..0d56d0e 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -1332,7 +1332,7 @@ int rqinqueue(struct server *to, struct client *from, uint8_t id) { pthread_mutex_lock(&to->newrq_mutex); for (i = 0; i < MAX_REQUESTS; i++) - if (to->requests[i].buf && to->requests[i].origid == id && to->requests[i].from == from) + if (to->requests[i].buf && !to->requests[i].received && to->requests[i].origid == id && to->requests[i].from == from) break; pthread_mutex_unlock(&to->newrq_mutex); |