summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2018-10-31 11:44:16 +0000
committerOlivier CrĂȘte <olivier.crete@collabora.com>2018-10-31 11:44:16 +0000
commit67771ba2a30ae7247262c252df052468809711eb (patch)
tree9f20b01c95a22e1efdd95f58726cb65b9dffff4b
parentd1611c0c0ba6c5bce500b96a8f61de4fe5f144e9 (diff)
downloadlibnice-67771ba2a30ae7247262c252df052468809711eb.tar.gz
udp-turn: Start function with lock instead of unlock
-rw-r--r--socket/udp-turn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket/udp-turn.c b/socket/udp-turn.c
index d1b88d3..15b41f2 100644
--- a/socket/udp-turn.c
+++ b/socket/udp-turn.c
@@ -1227,7 +1227,7 @@ nice_udp_turn_socket_parse_recv (NiceSocket *sock, NiceSocket **from_sock,
const guint16 *u16;
} recv_buf;
- g_mutex_unlock (&mutex);
+ g_mutex_lock (&mutex);
/* In the case of a reliable UDP-TURN-OVER-TCP (which means MS-TURN)
* we must use RFC4571 framing */