summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2005-02-07 18:53:17 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2005-02-07 18:53:17 +0000
commitb5f8aa68a1c7c77671bae1db65b577cb2743650a (patch)
tree72cbd01d65bae9b29606debeb558c48aab8e8c65 /src
parent6c6463a5bb3a55c21f821d67953c95cef928f4ec (diff)
downloadxine-lib-b5f8aa68a1c7c77671bae1db65b577cb2743650a.tar.gz
xine-lib-b5f8aa68a1c7c77671bae1db65b577cb2743650a.tar.bz2
Stupid me, sorry about that.
Fixed config locking. CVS patchset: 7389 CVS date: 2005/02/07 18:53:17
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/configfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/configfile.c b/src/xine-engine/configfile.c
index 7d2a57c2e..c58c04216 100644
--- a/src/xine-engine/configfile.c
+++ b/src/xine-engine/configfile.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: configfile.c,v 1.75 2005/01/30 16:51:20 tmattern Exp $
+ * $Id: configfile.c,v 1.76 2005/02/07 18:53:17 tmattern Exp $
*
* config object (was: file) management - implementation
*
@@ -505,7 +505,7 @@ static char *config_register_string (config_values_t *this,
_x_assert(key);
_x_assert(def_value);
- pthread_mutex_unlock(&this->config_lock);
+ pthread_mutex_lock(&this->config_lock);
entry = config_register_key(this, key, exp_level, changed_cb, cb_data);