From 5b27b028d8ad89214dc7b1ecd018f56aa0333b9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Thu, 18 Feb 2016 14:20:52 -0500 Subject: conncheck: Make very frequent debug verbose-only --- agent/conncheck.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'agent') diff --git a/agent/conncheck.c b/agent/conncheck.c index 5fa9177..fdb2d71 100644 --- a/agent/conncheck.c +++ b/agent/conncheck.c @@ -3192,9 +3192,11 @@ gboolean conn_check_handle_inbound_stun (NiceAgent *agent, NiceStream *stream, valid == STUN_VALIDATION_UNMATCHED_RESPONSE) { for (i = agent->refresh_list; i; i = i->next) { CandidateRefresh *r = i->data; - nice_debug ("Comparing %p to %p, %p to %p and %p and %p to %p", r->stream, - stream, r->component, component, r->nicesock, r->candidate->sockptr, - nicesock); + + nice_debug_verbose ("Comparing %p to %p, %p to %p and %p and %p to %p", + r->stream, stream, r->component, component, r->nicesock, + r->candidate->sockptr, nicesock); + if (r->stream == stream && r->component == component && (r->nicesock == nicesock || r->candidate->sockptr == nicesock)) { valid = stun_agent_validate (&r->stun_agent, &req, -- cgit v1.2.1