Commit c61f3780 authored by Philip Withnall's avatar Philip Withnall

agent: Fix initialisation of the agent mutex for old GLib versions

The mutex is now non-recursive. This is left over from commit 1deee693.
parent 0f2fe352
......@@ -136,7 +136,7 @@ static guint signals[N_SIGNALS];
#if GLIB_CHECK_VERSION(2,31,8)
static GMutex agent_mutex; /* Mutex used for thread-safe lib */
#else
static GStaticMutex agent_mutex = G_STATIC_REC_MUTEX_INIT;
static GStaticMutex agent_mutex = G_STATIC_MUTEX_INIT;
#endif
static void priv_free_upnp (NiceAgent *agent);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment