From c74e2ab189bfacd1075810c33cb426985414df66 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 13 Apr 2010 15:35:55 -0500 Subject: [PATCH] ppp: TUN channel should not be opened NONBLOCKING We don't handle it as a nonblocking channel and getting it right would be a nightmare. --- gatchat/ppp_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gatchat/ppp_net.c b/gatchat/ppp_net.c index 8d1a5d48..325e859d 100644 --- a/gatchat/ppp_net.c +++ b/gatchat/ppp_net.c @@ -129,7 +129,7 @@ struct ppp_net *ppp_net_new(GAtPPP *ppp) if (channel == NULL) goto error; - if (!g_at_util_setup_io(channel, G_IO_FLAG_NONBLOCK)) + if (!g_at_util_setup_io(channel, 0)) goto error; g_io_channel_set_buffered(channel, FALSE);