diff options
author | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2012-04-03 16:11:19 -0400 |
---|---|---|
committer | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2012-04-03 16:11:19 -0400 |
commit | e2b0ca29b5e1fea7181a0a24ac8aebcc57092909 (patch) | |
tree | 2f7615ef325d659c5fbe6ed7bb8ec850a2a4666f | |
parent | aadbbbd25f983244307489925131ea7a571ca29e (diff) |
Recognize a matching check if it's an INVALID message (error with no error-code)
-rw-r--r-- | agent/conncheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/conncheck.c b/agent/conncheck.c index 8e172d0..2045868 100644 --- a/agent/conncheck.c +++ b/agent/conncheck.c @@ -2153,7 +2153,7 @@ static gboolean priv_map_reply_to_conn_check_request (NiceAgent *agent, Stream * p->state = NICE_CHECK_WAITING; nice_debug ("Agent %p : pair %p state WAITING", agent, p); trans_found = TRUE; - } else if (res == STUN_USAGE_ICE_RETURN_ERROR) { + } else { /* case: STUN error, the check STUN context was freed */ nice_debug ("Agent %p : conncheck %p FAILED.", agent, p); p->stun_message.buffer = NULL; |