summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-28 13:57:14 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-28 13:57:14 +0200
commitc1cf0a71cfd8aa3441e57592e17de0d34823d305 (patch)
treedaa9d873d62cad56c5f246d6d4dea618d53bf3a5 /src/io.c
parentb83e8c2d09a357b2f06f10a9a41169c6c4061d46 (diff)
downloadcmumble-c1cf0a71cfd8aa3441e57592e17de0d34823d305.tar.gz
cmumble-c1cf0a71cfd8aa3441e57592e17de0d34823d305.tar.bz2
cmumble-c1cf0a71cfd8aa3441e57592e17de0d34823d305.zip
find_by_id: Fix lookup
The offset should be taken from the (GList *)::data pointer, not the list directly..
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io.c b/src/io.c
index e3b9bcb..b3227eb 100644
--- a/src/io.c
+++ b/src/io.c
@@ -105,7 +105,7 @@ process_line(char *line)
cmd[strlen(ctx->commands[i].name)] != ' ')
continue;
- ctx->commands[i].callback(ctx);
+ ctx->commands[i].callback(ctx, 0, NULL);
break;
}
}