Fix regression introduced by https://gitlab.freedesktop.org/libnice/libnice/commit...
authoralex <alex@meetecho.com>
Tue, 21 May 2019 14:19:32 +0000 (16:19 +0200)
committerAlessandro Amirante <alessandro.amirante@unina.it>
Wed, 5 Jun 2019 09:26:59 +0000 (09:26 +0000)
socket/udp-turn.c

index b665edc..ddf4aa8 100644 (file)
@@ -1199,6 +1199,7 @@ priv_binding_timeout (gpointer data)
   /* find current binding and mark it for renewal */
   for (i = priv->channels ; i; i = i->next) {
     ChannelBinding *b = i->data;
+    source = g_main_current_source ();
     if (b->timeout_source == source) {
       b->renew = TRUE;