[PATCH] mbimcli: show unknown CID name as "unknown" instead of "(null)"
Ben Chan
benchan at chromium.org
Sat Jul 29 08:37:34 UTC 2017
---
src/mbimcli/mbimcli-basic-connect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mbimcli/mbimcli-basic-connect.c b/src/mbimcli/mbimcli-basic-connect.c
index 0e78719..e147c4c 100644
--- a/src/mbimcli/mbimcli-basic-connect.c
+++ b/src/mbimcli/mbimcli-basic-connect.c
@@ -603,7 +603,7 @@ query_device_services_ready (MbimDevice *device,
} else {
g_string_append_printf (cids, "%s%s (%u)",
j == 0 ? "" : "\t\t ",
- mbim_cid_get_printable (service, device_services[i]->cids[j]),
+ VALIDATE_UNKNOWN (mbim_cid_get_printable (service, device_services[i]->cids[j])),
device_services[i]->cids[j]);
if (j < device_services[i]->cids_count - 1)
g_string_append (cids, ",\n");
--
2.14.0.rc0.400.g1c36432dff-goog
More information about the libmbim-devel
mailing list