summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-04-12 17:53:29 -0700
committerMarcel Holtmann <marcel@holtmann.org>2010-04-12 17:53:29 -0700
commit143d6db7c399274624e29d62b47561e7f6c385eb (patch)
tree4be1542822af54c308cfa0705feed486f827c260
parenta977ecf260970358c6d8440a4ee6f6125f463777 (diff)
downloadofono-143d6db7c399274624e29d62b47561e7f6c385eb.tar.bz2
Remove useless debug in PPP transmit destroy callback
-rw-r--r--gatchat/gatppp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c
index 259fdeb0..2e45e6b8 100644
--- a/gatchat/gatppp.c
+++ b/gatchat/gatppp.c
@@ -660,9 +660,8 @@ static void ppp_xmit_destroy_notify(gpointer destroy_data)
{
GAtPPP *ppp = destroy_data;
- g_print("%s\n", __FUNCTION__);
-
ppp->write_watch = 0;
+
if (ppp->phase == PPP_DEAD)
ppp_dead(ppp);
}