Add missing mutex initialization

This commit is contained in:
pooler 2012-01-19 17:36:42 +01:00
parent 0426d3ace0
commit 35ae813dc8

View file

@ -909,6 +909,7 @@ int main(int argc, char *argv[])
pthread_mutex_init(&time_lock, NULL); pthread_mutex_init(&time_lock, NULL);
pthread_mutex_init(&stats_lock, NULL); pthread_mutex_init(&stats_lock, NULL);
pthread_mutex_init(&g_work_lock, NULL);
if (!rpc_userpass) { if (!rpc_userpass) {
if (!rpc_user || !rpc_pass) { if (!rpc_user || !rpc_pass) {