diff options
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ cmumble_find_by_id(GList *list, gsize member_offset, guint id) gpointer el = NULL; GList *l; - for (l = list; l; l = l->next) { + for (l = list; l != NULL; l = l->next) { if (G_STRUCT_MEMBER(uint32_t, l->data, member_offset) == id) { el = l->data; break; |