equal
deleted
inserted
replaced
356 reslist = buddy_getresources(roster_usr->data); |
356 reslist = buddy_getresources(roster_usr->data); |
357 for (thisres = reslist; thisres; thisres = g_slist_next(thisres)) { |
357 for (thisres = reslist; thisres; thisres = g_slist_next(thisres)) { |
358 found = TRUE; |
358 found = TRUE; |
359 for (indexns = 0; ns[indexns]; indexns++) { |
359 for (indexns = 0; ns[indexns]; indexns++) { |
360 gchar *tmp = buddy_resource_getcaps(roster_usr->data, thisres->data); |
360 gchar *tmp = buddy_resource_getcaps(roster_usr->data, thisres->data); |
361 if (!caps_has_feature(tmp, (gchar *)ns[indexns])) |
361 if (!caps_has_feature(tmp, (gchar *)ns[indexns], NULL)) |
362 found = FALSE; |
362 found = FALSE; |
363 } |
363 } |
364 if (!found) continue; |
364 if (!found) continue; |
365 |
365 |
366 choosenres = g_strdup(thisres->data); |
366 choosenres = g_strdup(thisres->data); |