summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-23 09:41:22 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-23 09:58:11 +0200
commit7deb194171233af0fd3689cc1cd2f9b772d883d0 (patch)
tree18ad4879908cdbfe2aef2c332aa91182ff78555f /src/io.c
parent178fc8a562cded476ed2872df47e17e001380da6 (diff)
downloadcmumble-7deb194171233af0fd3689cc1cd2f9b772d883d0.tar.gz
cmumble-7deb194171233af0fd3689cc1cd2f9b772d883d0.tar.bz2
cmumble-7deb194171233af0fd3689cc1cd2f9b772d883d0.zip
Fix warnings
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/io.c b/src/io.c
index 906cc88..8d01a8e 100644
--- a/src/io.c
+++ b/src/io.c
@@ -29,6 +29,8 @@ read_cb(GIOChannel *source, GIOCondition condition, gpointer data)
rl_callback_read_char();
global_rl_user_data = NULL;
}
+
+ return TRUE;
}
static void
@@ -117,6 +119,8 @@ cmumble_io_init(struct context *ctx)
rl_callback_handler_install("cmumble> ", process_line);
g_set_print_handler(print_preserve_prompt);
+
+ return 0;
}
int
@@ -130,4 +134,5 @@ cmumble_io_fini(struct context *ctx)
return -1;
}
+ return 0;
}