X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=udp.c;h=380db18bd9dbf3bea95ba9d99f06dc4e798a750c;hb=refs%2Fheads%2Fmaint-1.6;hp=c804703ae8f6ae50343c250b40360f66b2d88136;hpb=883992d876f34a0486e675160a60701dc0a1b66a;p=radsecproxy.git diff --git a/udp.c b/udp.c index c804703..380db18 100644 --- a/udp.c +++ b/udp.c @@ -352,15 +352,15 @@ void initextraudp() { } if (client4_sock >= 0) - if (pthread_create(&cl4th, NULL, udpclientrd, (void *)&client4_sock)) + if (pthread_create(&cl4th, &pthread_attr, udpclientrd, (void *)&client4_sock)) debugx(1, DBG_ERR, "pthread_create failed"); if (client6_sock >= 0) - if (pthread_create(&cl6th, NULL, udpclientrd, (void *)&client6_sock)) + if (pthread_create(&cl6th, &pthread_attr, udpclientrd, (void *)&client6_sock)) debugx(1, DBG_ERR, "pthread_create failed"); if (find_clconf_type(handle, NULL)) { server_replyq = newqueue(); - if (pthread_create(&srvth, NULL, udpserverwr, (void *)server_replyq)) + if (pthread_create(&srvth, &pthread_attr, udpserverwr, (void *)server_replyq)) debugx(1, DBG_ERR, "pthread_create failed"); } }