summaryrefslogtreecommitdiff
path: root/socket
diff options
context:
space:
mode:
authorYouness Alaoui <kakaroto@kakaroto.(none)>2008-10-08 18:42:13 -0400
committerYouness Alaoui <kakaroto@kakaroto.(none)>2008-10-08 18:42:13 -0400
commitd7bc5d453fc22a1d677ac7c3f063b7b5a64a5640 (patch)
treec269e242f71bc74dab31ed66ed6392840101eebb /socket
parent5994246463b0ff82e8fd489925b43e9dcc1db0c2 (diff)
downloadlibnice-d7bc5d453fc22a1d677ac7c3f063b7b5a64a5640.tar.gz
Correct support timing out for tcp sockets too
Diffstat (limited to 'socket')
-rw-r--r--socket/udp-turn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/socket/udp-turn.c b/socket/udp-turn.c
index 8e33c6f..7e7051d 100644
--- a/socket/udp-turn.c
+++ b/socket/udp-turn.c
@@ -186,9 +186,10 @@ priv_send_turn_message (turn_priv *priv, TURNMessage *msg)
stun_timer_start_reliable (&msg->timer);
} else {
stun_timer_start (&msg->timer);
- priv->current_binding_msg = msg;
- priv_schedule_tick (priv);
}
+
+ priv->current_binding_msg = msg;
+ priv_schedule_tick (priv);
}
static gboolean