summaryrefslogtreecommitdiff
path: root/src/libmbim-glib/test/test-message-parser.c
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2017-07-27 19:45:53 -0700
committerAleksander Morgado <aleksander@aleksander.es>2017-07-28 09:47:54 +0200
commit8e64510e706d7192ec9e0db6c506d05beda9820c (patch)
treecf2385f5e14b9e5977c4e6a8a0f554c684d17049 /src/libmbim-glib/test/test-message-parser.c
parent0e2ad4993ebcbcbc52ca0b0cc13a65ecfcbd81c8 (diff)
mbim-common: turn __mbim_utils_str_hex into mbim_common_str_hex
__mbim_utils_str_hex is a useful utility method for returning a hexadecimal string representation of a sequence of bytes in memory. This patch turns it into 'mbim_common_str_hex', which can be shared between libmbim-glib and mbimcli.
Diffstat (limited to 'src/libmbim-glib/test/test-message-parser.c')
-rw-r--r--src/libmbim-glib/test/test-message-parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmbim-glib/test/test-message-parser.c b/src/libmbim-glib/test/test-message-parser.c
index a71c8c5..3ba4946 100644
--- a/src/libmbim-glib/test/test-message-parser.c
+++ b/src/libmbim-glib/test/test-message-parser.c
@@ -24,7 +24,7 @@
#include "mbim-ms-firmware-id.h"
#include "mbim-message.h"
#include "mbim-cid.h"
-#include "mbim-utils.h"
+#include "mbim-common.h"
#if defined ENABLE_TEST_MESSAGE_TRACES
static void
@@ -36,8 +36,8 @@ test_message_trace (const guint8 *computed,
gchar *message_str;
gchar *expected_str;
- message_str = __mbim_utils_str_hex (computed, computed_size, ':');
- expected_str = __mbim_utils_str_hex (expected, expected_size, ':');
+ message_str = mbim_common_str_hex (computed, computed_size, ':');
+ expected_str = mbim_common_str_hex (expected, expected_size, ':');
/* Dump all message contents */
g_print ("\n"