Initialize the mutex if we have pthread.h
authoraland <aland>
Fri, 14 May 2004 08:37:08 +0000 (08:37 +0000)
committeraland <aland>
Fri, 14 May 2004 08:37:08 +0000 (08:37 +0000)
src/main/request_list.c

index b2c9fa6..c2078b7 100644 (file)
@@ -272,7 +272,7 @@ int rl_init(void)
        }
 #endif /* PROXY_ID */
 
-#ifndef HAVE_PTHREAD_H
+#ifdef HAVE_PTHREAD_H
        /*
         *      For now, always create the mutex.
         *