summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index 11eaf1a..dc27dd0 100644
--- a/src/util.h
+++ b/src/util.h
@@ -8,11 +8,11 @@ gpointer
cmumble_find_by_id(GList *list, gsize member_offset, guint id);
static inline struct cmumble_user *
-find_user(struct cmumble_context *ctx, uint32_t session)
+find_user(struct cmumble_context *ctx, uint32_t session_id)
{
return cmumble_find_by_id(ctx->users,
G_STRUCT_OFFSET(struct cmumble_user, session),
- session);
+ session_id);
}
static inline struct cmumble_channel *