Browse Source

Properly initialise qd_lock mutex.

nfactor-troky
Con Kolivas 14 years ago
parent
commit
13c57a5779
  1. 2
      main.c

2
main.c

@ -1518,6 +1518,8 @@ int main (int argc, char *argv[])
return 1; return 1;
if (unlikely(pthread_mutex_init(&hash_lock, NULL))) if (unlikely(pthread_mutex_init(&hash_lock, NULL)))
return 1; return 1;
if (unlikely(pthread_mutex_init(&qd_lock, NULL)))
return 1;
if (unlikely(curl_global_init(CURL_GLOBAL_ALL))) if (unlikely(curl_global_init(CURL_GLOBAL_ALL)))
return 1; return 1;

Loading…
Cancel
Save