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 408c72162ca7..e5b9f505fbd3 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),
--
2.14.1
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono