diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-28 13:45:34 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-28 13:45:34 +0200 |
commit | 12b1d87e8d1ab680bafe30b3efec146f2b19838d (patch) | |
tree | f5502cfc365583ee6e1ae14cb370a8f2a6e6c867 /src/util.h | |
parent | c7af5a0a0fabbd70ecadafb75cf7d8c0a9b9a9ed (diff) | |
download | cmumble-12b1d87e8d1ab680bafe30b3efec146f2b19838d.tar.gz cmumble-12b1d87e8d1ab680bafe30b3efec146f2b19838d.tar.bz2 cmumble-12b1d87e8d1ab680bafe30b3efec146f2b19838d.zip |
find_user: Match against session id
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ static inline struct cmumble_user * find_user(struct cmumble_context *ctx, uint32_t session) { return cmumble_find_by_id(ctx->users, - G_STRUCT_OFFSET(struct cmumble_user, id), + G_STRUCT_OFFSET(struct cmumble_user, session), session); } |