From dad8e2799d210d5029cf0fd8bdccf2cb31adf160 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 13 Nov 2014 01:19:20 +0000 Subject: Fixed roster resource list --- src/contact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contact.c b/src/contact.c index 29c767d8..e0853f72 100644 --- a/src/contact.c +++ b/src/contact.c @@ -335,7 +335,7 @@ p_contact_get_available_resources(const PContact contact) GList *curr_resource = resources; while (curr_resource) { - Resource *resource = resources->data; + Resource *resource = curr_resource->data; ordered = g_list_insert_sorted(ordered, resource, (GCompareFunc)resource_compare_availability); curr_resource = g_list_next(curr_resource); } -- cgit 1.4.1-2-gfad0