X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fpazpar2.c;h=6680662cc2870560645ebb669e1456683e4c7be3;hb=01468c84307b0f00ff79112b3dd9723b11544e89;hp=4e4b1efa38ea326aaa2ebb9fd18b32f47b794f72;hpb=2cfd7518dc740c913602ea8306ec8f27509b00d4;p=pazpar2-moved-to-github.git diff --git a/src/pazpar2.c b/src/pazpar2.c index 4e4b1ef..6680662 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2010 Index Data + Copyright (C) 2006-2011 Index Data Pazpar2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -171,8 +171,7 @@ static int sc_main( yaz_log(YLOG_FATAL, "Configuration must be given with option -f"); return 1; } - if (global_parameters.debug_mode > 1) - pazpar2_mutex_enable_debug(1); + pazpar2_mutex_init(); config = config_create(config_fname, global_parameters.dump_records); if (!config)