From 45f93c599d8998a2362c93631e86cc5869a8ebd4 Mon Sep 17 00:00:00 2001 From: venaas Date: Thu, 17 Apr 2008 14:11:53 +0000 Subject: more restructuring of tls server code, this code may not work yet git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@240 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radsecproxy.c b/radsecproxy.c index 9ce5503..8bccae4 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -389,7 +389,7 @@ struct clsrvconf *find_conf(char type, struct sockaddr *addr, struct list *confs } else a4 = &((struct sockaddr_in *)addr)->sin_addr; - for (entry = (cur ? list_next(*cur) : list_first(confs)); entry; entry = list_next(entry)) { + for (entry = (*cur ? list_next(*cur) : list_first(confs)); entry; entry = list_next(entry)) { conf = (struct clsrvconf *)entry->data; if (conf->type == type) { if (conf->prefixlen == 255) { -- cgit v1.1