[gnome-network-displays/cc-tmp: 5/80] cc: add some debug lines
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-network-displays/cc-tmp: 5/80] cc: add some debug lines
- Date: Fri, 9 Sep 2022 12:03:49 +0000 (UTC)
commit 1dbfd34ff43481eca695623302bf690f27fc82d2
Author: Anupam Kumar <kyteinsky gmail com>
Date: Mon Jul 18 04:46:59 2022 +0530
cc: add some debug lines
src/nd-cc-sink.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/nd-cc-sink.c b/src/nd-cc-sink.c
index 3b271f4..d9bac67 100644
--- a/src/nd-cc-sink.c
+++ b/src/nd-cc-sink.c
@@ -289,7 +289,12 @@ parse_received_data(uint8_t * input_buffer, gssize input_size)
return;
}
- g_debug("NdCCSink: Received data: %s", message->payload_utf8);
+ g_debug("NdCCSink: Received data:");
+ g_debug("source_id: %s", message->source_id);
+ g_debug("destination_id: %s", message->destination_id);
+ g_debug("namespace_: %s", message->namespace_);
+ g_debug("payload_type: %d", message->payload_type);
+ g_debug("payload_utf8: %s", message->payload_utf8);
castchannel__cast_message__free_unpacked(message, NULL);
}
@@ -609,7 +614,7 @@ send_request (NdCCSink *sink, enum MessageType message_type, char * utf8_payload
"urn:x-cast:com.google.cast.tp.connection",
CASTCHANNEL__CAST_MESSAGE__PAYLOAD_TYPE__STRING,
NULL,
- "{ \"type\": \"CONNECT\" }");
+ "{\"type\":\"CONNECT\"}");
expect_input = FALSE;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]