diff options
author | James Booth <boothj5@gmail.com> | 2014-11-13 01:19:20 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-11-13 01:19:20 +0000 |
commit | dad8e2799d210d5029cf0fd8bdccf2cb31adf160 (patch) | |
tree | d5653e93b0f2ad113c16610754a66f8ed3ef94d7 | |
parent | 0a7c16747b45c69b9c6e4aa5b384a84197a495f7 (diff) | |
download | profani-tty-dad8e2799d210d5029cf0fd8bdccf2cb31adf160.tar.gz |
Fixed roster resource list
-rw-r--r-- | src/contact.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |