diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-28 19:18:26 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-28 19:18:26 +0200 |
commit | e76e3245de4cddee3d7921cc67f1bfd30ce9cabd (patch) | |
tree | 86a3277df80c2adb7e403eda01be68569f527761 /src/util.c | |
parent | c1cf0a71cfd8aa3441e57592e17de0d34823d305 (diff) | |
download | cmumble-e76e3245de4cddee3d7921cc67f1bfd30ce9cabd.tar.gz cmumble-e76e3245de4cddee3d7921cc67f1bfd30ce9cabd.tar.bz2 cmumble-e76e3245de4cddee3d7921cc67f1bfd30ce9cabd.zip |
Revert "find_by_id: Fix lookup"
This reverts commit c1cf0a71cfd8aa3441e57592e17de0d34823d305.
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ cmumble_find_by_id(GList *list, gsize member_offset, guint id) GList *l; for (l = list; l; l = l->next) { - if (G_STRUCT_MEMBER(uint32_t, l->data, member_offset) == id) { + if (G_STRUCT_MEMBER(uint32_t, l, member_offset) == id) { el = l->data; break; } |