summaryrefslogtreecommitdiff
path: root/ccast/ccmes.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-02 19:25:17 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-02 19:25:17 +0200
commitc2ca7be5a751879159f3cb591a64bb9568b79762 (patch)
tree04e38d4f4a2aad4d789bda0a65b7abb80a3439a2 /ccast/ccmes.c
parent45c152c326d87478fbf41714b4b8e2f7b57a282b (diff)
parent3db384424bd7398ffbb7a355cab8f15f3add009f (diff)
Updated version 1.9.1+repack from 'upstream/1.9.1+repack'
with Debian dir 98a996367aa69ae41accf9c6d369f600bc94de80
Diffstat (limited to 'ccast/ccmes.c')
-rw-r--r--ccast/ccmes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ccast/ccmes.c b/ccast/ccmes.c
index d0581d9..b8f9de0 100644
--- a/ccast/ccmes.c
+++ b/ccast/ccmes.c
@@ -42,8 +42,8 @@
#include "cast_channel.pb-c.h"
#include "ccmes.h"
-#undef LOWVERBTRACE /* Low verboseness message trace */
-#undef DEBUG /* Full message trace + debug */
+#undef LOWVERBTRACE /* [und] Low verboseness message trace */
+#undef DEBUG /* [und] Full message trace + debug */
/* ------------------------------------------------------------------- */
@@ -115,7 +115,7 @@ static void mes_dump(ccmes *mes, char *pfx) {
/* Would like to pretty print the JSON data */
/* ie. convert json_reformat.c to a function */
#ifdef DEBUG
- a1logd(g_log,0," %d bytes of text data:\n",strlen(mes->data));
+ a1logd(g_log,0," %d bytes of text data:\n",strlen((char *)mes->data));
a1logd(g_log,0," '%s'\n",mes->data);
#else
yajl_val tnode, v, i;