diff --git a/src/ice/chklist.c b/src/ice/chklist.c index cd2e428..06a2315 100644 --- a/src/ice/chklist.c +++ b/src/ice/chklist.c @@ -211,7 +211,7 @@ static void concluding_ice(struct icem_comp *comp) CANDPAIR_SUCCEEDED); if (!cp) { DEBUG_WARNING("{%s.%u} conclude: no valid candpair found" - " (validl=%u)\n", + " (validlist=%u)\n", comp->icem->name, comp->id, list_count(&comp->icem->validl)); return; @@ -251,7 +251,7 @@ void icem_checklist_update(struct icem *icem) if (!icem_candpair_find_compid(&icem->validl, comp->id)) { DEBUG_WARNING("{%s.%u} no valid candidate pair" - " (validl=%u)\n", + " (validlist=%u)\n", icem->name, comp->id, list_count(&icem->validl)); err = ENOENT; diff --git a/src/ice/icem.c b/src/ice/icem.c index b4ff445..2a374fc 100644 --- a/src/ice/icem.c +++ b/src/ice/icem.c @@ -282,8 +282,10 @@ int icem_add_chan(struct icem *icem, uint8_t compid, const struct sa *raddr) static void purge_relayed(struct icem *icem, struct icem_comp *comp) { - DEBUG_NOTICE("{%s.%u} purge local RELAY candidates\n", - icem->name, comp->id); + if (comp->turnc) { + DEBUG_NOTICE("{%s.%u} purge local RELAY candidates\n", + icem->name, comp->id); + } /* * Purge all Candidate-Pairs where the Local candidate