From a1ea5fc103e04c1d333bebb6e68b3699a414d1e9 Mon Sep 17 00:00:00 2001 From: venaas Date: Thu, 11 Sep 2008 14:42:21 +0000 Subject: various code improvements git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@375 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- tcp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tcp.c') diff --git a/tcp.c b/tcp.c index 6f6fec8..a470120 100644 --- a/tcp.c +++ b/tcp.c @@ -180,8 +180,7 @@ void *tcpclientrd(void *arg) { continue; } - if (!replyh(server, buf)) - free(buf); + replyh(server, buf); } server->clientrdgone = 1; return NULL; -- cgit v1.2.3