changeset 67 | c12618793df0 |
parent 66 | cd16ab43a285 |
child 72 | 277778138b4b |
--- a/jingle/register.c Wed Jul 21 17:43:46 2010 +0200 +++ b/jingle/register.c Fri Jul 23 03:23:23 2010 +0200 @@ -127,7 +127,8 @@ if (g_slist_find_custom(*forbid, thistransport->xmlns, cmp_forbid)) continue; - if (thistransport->priority > bestprio) { + if (thistransport->transtype == requestedtype && + thistransport->priority > bestprio) { bestprio = thistransport->priority; besttransport = thistransport; }