Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
htsp server: fix the previous commit - getEvents access verification fix
  • Loading branch information
perexg committed Apr 11, 2016
1 parent 048c63e commit 37ed360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/htsp_server.c
Expand Up @@ -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));
Expand Down

0 comments on commit 37ed360

Please sign in to comment.