diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-24 12:54:31 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-24 12:59:42 +0200 |
commit | c820c3d4830b2c5db1c026ee332f2d773c366247 (patch) | |
tree | 993f5622d79236cdec2b86aa05f115ea2875c057 /src/commands.c | |
parent | 99961ccd710e5300de5fb749aa10619632ac96e9 (diff) | |
download | cmumble-c820c3d4830b2c5db1c026ee332f2d773c366247.tar.gz cmumble-c820c3d4830b2c5db1c026ee332f2d773c366247.tar.bz2 cmumble-c820c3d4830b2c5db1c026ee332f2d773c366247.zip |
Add a general element finding routine to util.c
And use this to implement find_user and find_channel
as inline functions.
Diffstat (limited to 'src/commands.c')
-rw-r--r-- | src/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |