removed out commented code
authorvenaas <venaas>
Thu, 3 May 2007 13:36:03 +0000 (13:36 +0000)
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Thu, 3 May 2007 13:36:03 +0000 (13:36 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@68 e88ac4ed-0b26-0410-9574-a7f39faa03bf

radsecproxy.c

index cbf5afd..9c962d4 100644 (file)
@@ -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");
     }