summaryrefslogtreecommitdiff
path: root/globals.c
diff options
context:
space:
mode:
authorMike Hommey <glandium@debian.org>2010-03-18 07:40:32 +0100
committerMike Hommey <glandium@debian.org>2010-03-18 07:40:32 +0100
commiteb5d521a2df72fa829a7f8196b957c696e7ccc58 (patch)
tree224599e18a48f87e82aa8a32456563277c68ae58 /globals.c
parent8a10e02b2f4971d3fdacab7dc7baecced34056fb (diff)
downloadlibxml2-eb5d521a2df72fa829a7f8196b957c696e7ccc58.tar.gz
Import upstream version 2.7.7upstream/2.7.7.dfsg
Diffstat (limited to 'globals.c')
-rw-r--r--globals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/globals.c b/globals.c
index 1f807d8..69002f0 100644
--- a/globals.c
+++ b/globals.c
@@ -46,7 +46,7 @@ static xmlMutexPtr xmlThrDefMutex = NULL;
*/
void xmlInitGlobals(void)
{
- if (xmlThrDefMutex != NULL)
+ if (xmlThrDefMutex == NULL)
xmlThrDefMutex = xmlNewMutex();
}