From b83e8c2d09a357b2f06f10a9a41169c6c4061d46 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 28 Sep 2011 13:56:55 +0200 Subject: find_user: Renmae session to session_id for readability --- src/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 * -- cgit