diff --git a/src/htsp.c b/src/htsp.c index a8e4afaa..979c1a5b 100644 --- a/src/htsp.c +++ b/src/htsp.c @@ -501,11 +501,11 @@ htsp_build_event htsmsg_add_s64(out, "stop", e->stop); if ((str = epg_broadcast_get_title(e, lang))) htsmsg_add_str(out, "title", str); - if ((str = epg_broadcast_get_description(e, lang))) + if ((str = epg_broadcast_get_description(e, lang))) { htsmsg_add_str(out, "description", str); if ((str = epg_broadcast_get_summary(e, lang))) htsmsg_add_str(out, "summary", str); - else if((str = epg_broadcast_get_summary(e, lang))) + } else if((str = epg_broadcast_get_summary(e, lang))) htsmsg_add_str(out, "description", str); if (e->serieslink) htsmsg_add_u32(out, "serieslinkId", e->serieslink->id);