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 --- udp.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'udp.c') diff --git a/udp.c b/udp.c index eff8a6e..c2302d4 100644 --- a/udp.c +++ b/udp.c @@ -27,8 +27,6 @@ #include #include "debug.h" #include "list.h" -#include "tlv11.h" -#include "radmsg.h" #include "util.h" #include "radsecproxy.h" #include "tls.h" @@ -162,8 +160,7 @@ void *udpclientrd(void *arg) { for (;;) { server = NULL; buf = radudpget(*s, NULL, &server, NULL); - if (!replyh(server, buf)) - free(buf); + replyh(server, buf); } } -- cgit v1.1