diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2017-09-08 00:27:33 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2017-09-07 17:29:46 -0500 |
commit | 8e6ac330a5fca98e1db71b936b9cd2e292585d7a (patch) | |
tree | a5a1eb96aad0b167202d19137ea68354c17b97ca /src/voicecall.c | |
parent | 9b16b2c23cde93ff5424de062545aadd96f1f7c6 (diff) | |
download | ofono-8e6ac330a5fca98e1db71b936b9cd2e292585d7a.tar.gz |
voicecall: use ofono_call_status_name in DBG messages
status names are more readable then integer values.
Diffstat (limited to 'src/voicecall.c')
-rw-r--r-- | src/voicecall.c | 7 |
1 files 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), |