[PATCH 1/4] remove unneeded debug statement
Kristen Carlson Accardi
kristen at linux.intel.com
Wed Mar 24 21:41:52 PDT 2010
cleanup old debug print statement
---
gatchat/ppp.c | 4 +---
1 files changed, 1 insertions(+), 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,
--
1.6.6.1
More information about the ofono
mailing list