summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorvenaas <venaas>2007-05-24 09:02:16 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-05-24 09:02:16 +0000
commit1db54ff1f57b52ba2fbb4eaf239bbed371f0fd5d (patch)
tree8283736bd0e772f6dba7f9765933f7d6310d7d20 /radsecproxy.c
parent4bd196ed592bcc8e9689d862aee5af0486266895 (diff)
improved debug output, and removed a small probably needless delay
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@104 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index b90ddbb..01d6927 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -740,7 +740,7 @@ void sendreply(struct client *to, unsigned char *buf, struct sockaddr_storage *t
replyq->count++;
if (replyq->count == 1) {
- debug(DBG_DBG, "signalling client writer");
+ debug(DBG_DBG, "signalling server writer");
pthread_cond_signal(&replyq->count_cond);
}
pthread_mutex_unlock(&replyq->count_mutex);
@@ -1477,7 +1477,6 @@ void *clientwr(void *arg) {
rq->tries++;
clientradput(server, server->requests[i].buf);
gettimeofday(&lastsend, NULL);
- usleep(200000);
}
if (server->statusserver) {
gettimeofday(&now, NULL);