summaryrefslogtreecommitdiff
path: root/tls.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-09-11 14:42:21 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-09-11 14:42:21 +0000
commita1ea5fc103e04c1d333bebb6e68b3699a414d1e9 (patch)
tree91bcfe8ccc296ee6d222a5d9eb8e84eb3a71d1a3 /tls.c
parentfaf8717dcbc9c2e3ed1892402133b6c9663a5e7d (diff)
various code improvements
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@375 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'tls.c')
-rw-r--r--tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tls.c b/tls.c
index 9df1041..adf071f 100644
--- a/tls.c
+++ b/tls.c
@@ -221,8 +221,8 @@ void *tlsclientrd(void *arg) {
continue;
}
- if (!replyh(server, buf))
- free(buf);
+ replyh(server, buf);
+
if (server->dynamiclookuparg) {
gettimeofday(&now, NULL);
if (now.tv_sec - server->lastreply.tv_sec > IDLE_TIMEOUT) {