diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-28 13:56:55 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-28 13:56:55 +0200 |
commit | b83e8c2d09a357b2f06f10a9a41169c6c4061d46 (patch) | |
tree | 86a3277df80c2adb7e403eda01be68569f527761 /src | |
parent | 12b1d87e8d1ab680bafe30b3efec146f2b19838d (diff) | |
download | cmumble-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 * |