equal
deleted
inserted
replaced
125 |
125 |
126 // Look if it's forbidden |
126 // Look if it's forbidden |
127 if (g_slist_find_custom(*forbid, thistransport->xmlns, cmp_forbid)) |
127 if (g_slist_find_custom(*forbid, thistransport->xmlns, cmp_forbid)) |
128 continue; |
128 continue; |
129 |
129 |
130 if (thistransport->priority > bestprio) { |
130 if (thistransport->transtype == requestedtype && |
|
131 thistransport->priority > bestprio) { |
131 bestprio = thistransport->priority; |
132 bestprio = thistransport->priority; |
132 besttransport = thistransport; |
133 besttransport = thistransport; |
133 } |
134 } |
134 } |
135 } |
135 *forbid = g_slist_append(*forbid, besttransport->xmlns); |
136 *forbid = g_slist_append(*forbid, besttransport->xmlns); |