From 8e6ac330a5fca98e1db71b936b9cd2e292585d7a Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Fri, 8 Sep 2017 00:27:33 +0200 Subject: [PATCH] voicecall: use ofono_call_status_name in DBG messages status names are more readable then integer values. --- src/voicecall.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/voicecall.c b/src/voicecall.c index 408c7216..e5b9f505 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -2250,9 +2250,10 @@ void ofono_voicecall_notify(struct ofono_voicecall *vc, struct voicecall *v = NULL; struct ofono_call *newcall; - DBG("Got a voicecall event, status: %d, id: %u, number: %s" - " called_number: %s, called_name %s", call->status, - call->id, call->phone_number.number, + DBG("Got a voicecall event, status: %s (%d), id: %u, number: %s" + " called_number: %s, called_name %s", + call_status_to_string(call->status), + call->status, call->id, call->phone_number.number, call->called_number.number, call->name); l = g_slist_find_custom(vc->call_list, GUINT_TO_POINTER(call->id),