From c820c3d4830b2c5db1c026ee332f2d773c366247 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sat, 24 Sep 2011 12:54:31 +0200 Subject: Add a general element finding routine to util.c And use this to implement find_user and find_channel as inline functions. --- src/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands.c') diff --git a/src/commands.c b/src/commands.c index 0e24f70..32746f6 100644 --- a/src/commands.c +++ b/src/commands.c @@ -16,7 +16,7 @@ list_users(struct cmumble_context *ctx) for (l = ctx->users; l; l = l->next) { user = l->data; - g_print("%4d: %s\n", user->user_id, user->name); + g_print("%4d: %s\n", user->id, user->name); } } -- cgit