summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 30d626d..10fae1d 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -2377,7 +2377,7 @@ int main(int argc, char **argv) {
}
for (i = 0; i < srvconf_count; i++)
- if (pthread_create(&srvconfs[i].servers->clientth, NULL, clientwr, (void *)&srvconfs[i]))
+ if (pthread_create(&srvconfs[i].servers->clientth, NULL, clientwr, (void *)srvconfs[i].servers))
debugx(1, DBG_ERR, "pthread_create failed");
if (client_tls_count) {