From e2b0ca29b5e1fea7181a0a24ac8aebcc57092909 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Tue, 3 Apr 2012 16:11:19 -0400 Subject: [PATCH] Recognize a matching check if it's an INVALID message (error with no error-code) --- agent/conncheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.4.GIT