From bde388e0d55dff8570b6e2e3afa352921362232f Mon Sep 17 00:00:00 2001 From: Kristen Carlson Accardi Date: Wed, 24 Mar 2010 21:41:52 -0700 Subject: [PATCH] remove unneeded debug statement cleanup old debug print statement --- gatchat/ppp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gatchat/ppp.c b/gatchat/ppp.c index 4612976..f3bfba7 100644 --- a/gatchat/ppp.c +++ b/gatchat/ppp.c @@ -328,10 +328,8 @@ gboolean ppp_cb(GIOChannel *channel, GIOCondition cond, gpointer data) gsize bytes_read; GError *error = NULL; - if (cond & (G_IO_NVAL | G_IO_ERR | G_IO_HUP)) { - g_print("G_IO_NVAL | G_IO_ERR"); + if (cond & (G_IO_NVAL | G_IO_ERR | G_IO_HUP)) return FALSE; - } if (cond & G_IO_IN) { status = g_io_channel_read_chars(channel, buf, 256, -- 2.7.4