summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvenaas <venaas>2008-04-17 13:45:58 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-04-17 13:45:58 +0000
commit250e83e8eb77d3faef0ebad69c2ffb51fc70e547 (patch)
tree2358e39cd3ddd78ae8bfb8b41b939a0ca2a506b7
parent0e9f9a724693e5be0fd620cf3e971db7098436e3 (diff)
more restructuring of tls server code, this code may not work yet
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@239 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r--radsecproxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 9f49a19..9ce5503 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -2458,7 +2458,7 @@ int tlslistener2() {
debug(DBG_WARN, "accept failed");
continue;
}
- if (pthread_create(&tlsserverth, NULL, tlsservernew, (void *)&snew)) {
+ if (pthread_create(&tlsserverth, NULL, tlsservernew2, (void *)&snew)) {
debug(DBG_ERR, "tlslistener: pthread_create failed");
shutdown(snew, SHUT_RDWR);
close(snew);
@@ -3303,7 +3303,7 @@ int main(int argc, char **argv) {
debugx(1, DBG_ERR, "clientwr: pthread_create failed");
if (client_tls_count)
- return tlslistener();
+ return tlslistener2();
/* just hang around doing nothing, anything to do here? */
for (;;)