From 12b1d87e8d1ab680bafe30b3efec146f2b19838d Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 28 Sep 2011 13:45:34 +0200 Subject: find_user: Match against session id --- src/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.h b/src/util.h index dab7b54..11eaf1a 100644 --- a/src/util.h +++ b/src/util.h @@ -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); } -- cgit