summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-28 13:56:55 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-28 13:56:55 +0200
commitb83e8c2d09a357b2f06f10a9a41169c6c4061d46 (patch)
tree86a3277df80c2adb7e403eda01be68569f527761 /src
parent12b1d87e8d1ab680bafe30b3efec146f2b19838d (diff)
downloadcmumble-b83e8c2d09a357b2f06f10a9a41169c6c4061d46.tar.gz
cmumble-b83e8c2d09a357b2f06f10a9a41169c6c4061d46.tar.bz2
cmumble-b83e8c2d09a357b2f06f10a9a41169c6c4061d46.zip
find_user: Renmae session to session_id for readability
Diffstat (limited to 'src')
-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 *