From: Jaroslav Kysela Date: Mon, 11 Apr 2016 09:35:06 +0000 (+0200) Subject: htsp server: fix the previous commit - getEvents access verification fix X-Git-Tag: v4.2.1~677 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=37ed360d1ab694554489d18071fc3c529d0d2d4f;p=thirdparty%2Ftvheadend.git htsp server: fix the previous commit - getEvents access verification fix --- diff --git a/src/htsp_server.c b/src/htsp_server.c index f87f30769..76aa50dce 100644 --- a/src/htsp_server.c +++ b/src/htsp_server.c @@ -1574,7 +1574,7 @@ htsp_method_getEvents(htsp_connection_t *htsp, htsmsg_t *in) CHANNEL_FOREACH(ch) { int num = numFollowing; if (!htsp_user_access_channel(htsp, ch)) - return htsp_error(htsp, N_("User does not have access")); + continue; RB_FOREACH(e, &ch->ch_epg_schedule, sched_link) { if (maxTime && e->start > maxTime) break; htsmsg_add_msg(events, NULL, htsp_build_event(e, NULL, lang, 0, htsp));