summaryrefslogtreecommitdiff
path: root/libqmi-glib
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-10-30 16:24:16 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-10-30 16:24:16 +0100
commit7cce18820ef2142781c334d20e162d814695a409 (patch)
tree8a2511177b6accabc204d62deda9cf3628a7ff97 /libqmi-glib
parent1cb04318e1883b921ea50d6140b8e774a110c845 (diff)
Revert "libqmi-glib,message: include raw data buffer when building printable string"
This reverts commit d89b9064afa991d5cc7737fa9b0b1b55c0e31158. We already print the raw buffer when sending/receiving the message in QmiDevice, which is actually better as we end up priting it *before* parsing it, so it's much better for debugging purposes.
Diffstat (limited to 'libqmi-glib')
-rw-r--r--libqmi-glib/qmi-message.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/libqmi-glib/qmi-message.c b/libqmi-glib/qmi-message.c
index 4dd88cf..2c2394e 100644
--- a/libqmi-glib/qmi-message.c
+++ b/libqmi-glib/qmi-message.c
@@ -800,7 +800,6 @@ qmi_message_get_printable (QmiMessage *self,
GString *printable;
gchar *qmi_flags_str;
gchar *contents;
- gchar *raw;
g_return_val_if_fail (self != NULL, NULL);
g_return_val_if_fail (line_prefix != NULL, NULL);
@@ -809,20 +808,6 @@ qmi_message_get_printable (QmiMessage *self,
line_prefix = "";
printable = g_string_new ("");
-
- /* Print raw binary stream */
- raw = __qmi_utils_str_hex (((GByteArray *)self)->data,
- ((GByteArray *)self)->len,
- ':');
- g_string_append_printf (printable,
- "%sRAW:\n"
- "%s length = %u\n"
- "%s data = %s\n",
- line_prefix,
- line_prefix, ((GByteArray *)self)->len,
- line_prefix, raw);
- g_free (raw);
-
g_string_append_printf (printable,
"%sQMUX:\n"
"%s length = %u\n"