summaryrefslogtreecommitdiffstats
path: root/gatchat/gatrawip.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-01-19 15:28:59 +0100
committerMarcel Holtmann <marcel@holtmann.org>2011-01-19 15:28:59 +0100
commit2f2460f5ae90ccee6e3f6068bff0e49140b8e3f5 (patch)
treee1476bb57722010c113836afcb62392f7d691753 /gatchat/gatrawip.c
parentedaff4b50503d07255ab567957e6abf492f747a2 (diff)
downloadofono-2f2460f5ae90ccee6e3f6068bff0e49140b8e3f5.tar.bz2
gatchat: Disable encoding for RawIP GIOChannel
Diffstat (limited to 'gatchat/gatrawip.c')
-rw-r--r--gatchat/gatrawip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gatchat/gatrawip.c b/gatchat/gatrawip.c
index 5c9bfc29..e8af4737 100644
--- a/gatchat/gatrawip.c
+++ b/gatchat/gatrawip.c
@@ -205,6 +205,7 @@ static void create_tun(GAtRawIP *rawip)
rawip->tun_io = g_at_io_new(channel);
+ g_io_channel_set_encoding(channel, NULL, NULL);
g_io_channel_set_buffered(channel, FALSE);
g_io_channel_unref(channel);