projects
/
libradsec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89a2b2c
)
tiny connectionok fix
author
venaas
<venaas>
Wed, 26 Sep 2007 16:03:54 +0000
(16:03 +0000)
committer
venaas
<venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Wed, 26 Sep 2007 16:03:54 +0000
(16:03 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@170
e88ac4ed
-0b26-0410-9574-
a7f39faa03bf
radsecproxy.c
patch
|
blob
|
history
diff --git
a/radsecproxy.c
b/radsecproxy.c
index
5673052
..
dfe8141
100644
(file)
--- a/
radsecproxy.c
+++ b/
radsecproxy.c
@@
-1647,10
+1647,11
@@
void *clientwr(void *arg) {
if (server->conf->type == 'U') {
if ((server->sock = connecttoserver(server->conf->addrinfo)) < 0)
debugx(1, DBG_ERR, "clientwr: connecttoserver failed");
- server->connectionok = 1;
} else
tlsconnect(server, NULL, "new client");
+ server->connectionok = 1;
+
if (pthread_create(&clientrdth, NULL, clientrd, (void *)server))
debugx(1, DBG_ERR, "clientwr: pthread_create failed");