From 75730bbaac765ed2b6643f71ba72a5b2153d2bb6 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sat, 26 Feb 2011 00:25:24 -0600 Subject: ppp_cp: Replace some left over g_prints with DBG --- gatchat/ppp_cp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gatchat/ppp_cp.c') diff --git a/gatchat/ppp_cp.c b/gatchat/ppp_cp.c index 31ea05ad..f0731cca 100644 --- a/gatchat/ppp_cp.c +++ b/gatchat/ppp_cp.c @@ -310,9 +310,9 @@ static gboolean is_first_request(struct pppcp_timer_data *timer_data) /* actions */ /* log an illegal event, but otherwise do nothing */ -static void pppcp_illegal_event(guint8 state, guint8 type) +static void pppcp_illegal_event(GAtPPP *ppp, guint8 state, guint8 type) { - g_printerr("Illegal event %d while in state %d\n", type, state); + DBG(ppp, "Illegal event %d while in state %d", type, state); } static void pppcp_this_layer_up(struct pppcp_data *data) @@ -690,7 +690,7 @@ static void pppcp_generate_event(struct pppcp_data *data, return; error: - pppcp_illegal_event(data->state, event_type); + pppcp_illegal_event(data->ppp, data->state, event_type); } void pppcp_signal_open(struct pppcp_data *data) -- cgit v1.2.3