summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvenaas <venaas>2007-05-03 13:36:03 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-05-03 13:36:03 +0000
commitaea23b7433f130cd0b16e34f9a2525efc31583d6 (patch)
treed5c51fba5ccce0856905137e2bcff1f8781bdaf4
parentcc7c9e8d558897da27bd4659127b8f0946755733 (diff)
removed out commented code
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@68 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r--radsecproxy.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index cbf5afd..9c962d4 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -1926,23 +1926,15 @@ void getmainconfig(const char *configfile) {
int main(int argc, char **argv) {
pthread_t udpserverth;
- /* pthread_attr_t joinable; */
int i;
- debug(DBG_INFO, "debug test info");
- debug(DBG_WARN, "debug test warn");
-
- /* parseargs(argc, argv); */
getmainconfig(CONFIG_MAIN);
getconfig(CONFIG_SERVERS, NULL);
getconfig(NULL, CONFIG_CLIENTS);
- /* pthread_attr_init(&joinable); */
- /* pthread_attr_setdetachstate(&joinable, PTHREAD_CREATE_JOINABLE); */
-
if (client_udp_count) {
udp_server_listen = server_create('U');
- if (pthread_create(&udpserverth, NULL /*&joinable*/, udpserverrd, NULL))
+ if (pthread_create(&udpserverth, NULL, udpserverrd, NULL))
debug(DBG_ERR, "pthread_create failed");
}