diff options
author | venaas <venaas> | 2008-04-17 14:11:53 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-04-17 14:11:53 +0000 |
commit | 45f93c599d8998a2362c93631e86cc5869a8ebd4 (patch) | |
tree | 7fec23ab689aa6184be0d7957a1d413754ebada9 | |
parent | 250e83e8eb77d3faef0ebad69c2ffb51fc70e547 (diff) |
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
-rw-r--r-- | radsecproxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |