--- ./tvheadend-git/src/htsmsg.c 2016-05-08 21:56:56.733544674 +0200 +++ ./tvheadend-git.new/src/htsmsg.c 2016-05-08 22:14:15.123279854 +0200 @@ -968,23 +968,25 @@ TAILQ_FOREACH(f, &msg->hm_fields, hmf_link) { for(i = 0; i < indent; i++) printf("\t"); - + printf("%s (", f->hmf_name ?: ""); - + switch(f->hmf_type) { case HMF_MAP: printf("MAP) = {\n"); htsmsg_print0(&f->hmf_msg, indent + 1); - for(i = 0; i < indent; i++) printf("\t"); printf("}\n"); + for(i = 0; i < indent; i++) printf("\t"); + printf("}\n"); break; case HMF_LIST: printf("LIST) = {\n"); htsmsg_print0(&f->hmf_msg, indent + 1); - for(i = 0; i < indent; i++) printf("\t"); printf("}\n"); + for(i = 0; i < indent; i++) printf("\t"); + printf("}\n"); break; - + case HMF_STR: printf("STR) = \"%s\"\n", f->hmf_str); break;