ice: use icecomp_printf() instead of DEBUG_NOTICE()

This commit is contained in:
Alfred E. Heggestad 2014-07-26 20:36:33 +00:00
parent b14ba224d8
commit 8ff6567c06

View file

@ -184,8 +184,8 @@ void icem_comp_set_default_rcand(struct icem_comp *comp, struct cand *rcand)
comp->def_rcand = mem_ref(rcand);
if (comp->turnc) {
DEBUG_NOTICE("{%s.%u} Default: Add TURN Channel to peer %J\n",
comp->icem->name, comp->id, &rcand->addr);
icecomp_printf(comp, "Add TURN Channel to peer %J\n",
&rcand->addr);
(void)turnc_add_chan(comp->turnc, &rcand->addr, NULL, NULL);
}