From 468403f6332e3a451efbef8e6a213012165f2ad2 Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Thu, 27 Sep 2012 13:33:34 +0100 Subject: [PATCH] Add missing parantheses. --- src/htsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);