From 13c57a577966b173124f178909134b222a76329a Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 5 Jul 2011 15:18:13 +1000 Subject: [PATCH] Properly initialise qd_lock mutex. --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index 1e22e746..6f7d4354 100644 --- a/main.c +++ b/main.c @@ -1518,6 +1518,8 @@ int main (int argc, char *argv[]) return 1; if (unlikely(pthread_mutex_init(&hash_lock, NULL))) return 1; + if (unlikely(pthread_mutex_init(&qd_lock, NULL))) + return 1; if (unlikely(curl_global_init(CURL_GLOBAL_ALL))) return 1;