summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-02-12 19:30:35 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-11-18 13:22:05 +0100
commitacd6eea934442be4514e2176b49d5d6e3d5eb6d8 (patch)
tree0b71968b73f1c61e392a5c68e091ebfac8079787 /src/io.c
parent269297401c5b63f3f462a66b2e7652e726ad605a (diff)
downloadcmumble-acd6eea934442be4514e2176b49d5d6e3d5eb6d8.tar.gz
cmumble-acd6eea934442be4514e2176b49d5d6e3d5eb6d8.tar.bz2
cmumble-acd6eea934442be4514e2176b49d5d6e3d5eb6d8.zip
Fix typo in cmumble struct name
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/io.c b/src/io.c
index e0d608a..c0ec572 100644
--- a/src/io.c
+++ b/src/io.c
@@ -22,7 +22,7 @@ static gpointer global_rl_user_data = NULL;
static gboolean
read_cb(GIOChannel *source, GIOCondition condition, gpointer data)
{
- struct cmumlbe *cm = data;
+ struct cmumble *cm = data;
if (condition & G_IO_IN) {
global_rl_user_data = cm;
@@ -144,7 +144,7 @@ command_split(char *cmd, char ***argv)
static void
process_line(char *line)
{
- struct cmumlbe *cm = global_rl_user_data;
+ struct cmumble *cm = global_rl_user_data;
int i;
int argc;
char **argv;
@@ -186,7 +186,7 @@ out:
}
int
-cmumble_io_init(struct cmumlbe *cm)
+cmumble_io_init(struct cmumble *cm)
{
struct termios term;
@@ -217,7 +217,7 @@ cmumble_io_init(struct cmumlbe *cm)
}
int
-cmumble_io_fini(struct cmumlbe *cm)
+cmumble_io_fini(struct cmumble *cm)
{
rl_callback_handler_remove();
g_io_channel_unref(cm->io.input_channel);