diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-05-06 19:19:29 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-05-07 06:21:15 +0200 |
commit | 9e656b924b16b88dbd4997538a5dce885505980f (patch) | |
tree | d28f8e01b9985561bfef89ac3f3d33427a2a7675 | |
parent | b355ca08d0b4656bf529ebf90cc43121dda58418 (diff) | |
download | cmumble-9e656b924b16b88dbd4997538a5dce885505980f.tar.gz cmumble-9e656b924b16b88dbd4997538a5dce885505980f.tar.bz2 cmumble-9e656b924b16b88dbd4997538a5dce885505980f.zip |
io.c: Rename read_cb to stdin_callback
..to be more understandable
-rw-r--r-- | src/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -21,7 +21,7 @@ static gpointer global_rl_user_data = NULL; static gboolean -read_cb(GIOChannel *source, GIOCondition condition, gpointer data) +stdin_callback(GIOChannel *source, GIOCondition condition, gpointer data) { struct cmumble *cm = data; @@ -194,7 +194,7 @@ cmumble_io_init(struct cmumble *cm) cm->io.input_channel = g_io_channel_unix_new(STDIN_FILENO); g_io_add_watch(cm->io.input_channel, G_IO_IN | G_IO_HUP, - read_cb, cm); + stdin_callback, cm); if (tcgetattr(STDIN_FILENO, &term) < 0) { g_printerr("tcgetattr failed"); |