]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
htsp server: fix the previous commit - getEvents access verification fix
authorJaroslav Kysela <perex@perex.cz>
Mon, 11 Apr 2016 09:35:06 +0000 (11:35 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 11 Apr 2016 09:35:06 +0000 (11:35 +0200)
src/htsp_server.c

index f87f3076935385c4e0716ea02e9e08eca8e2f644..76aa50dce559febaa8b9ae1035a3cf6cdac7b6d4 100644 (file)
@@ -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));