Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
htsp server: fixed wrong condition (profile_chain_work)
  • Loading branch information
perexg committed Oct 22, 2014
1 parent afacbb3 commit 917fb80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/htsp_server.c
Expand Up @@ -1763,7 +1763,7 @@ htsp_method_subscribe(htsp_connection_t *htsp, htsmsg_t *in)

pro = profile_find_by_list(htsp->htsp_granted_access->aa_profiles, profile_id, "htsp");
profile_chain_init(&hs->hs_prch, pro, ch);
if (!profile_chain_work(&hs->hs_prch, &hs->hs_input, timeshiftPeriod, pflags)) {
if (profile_chain_work(&hs->hs_prch, &hs->hs_input, timeshiftPeriod, pflags)) {
tvhlog(LOG_ERR, "htsp", "unable to create profile chain '%s'", pro->pro_name);
free(hs);
return htsp_error("Stream setup error");
Expand Down

0 comments on commit 917fb80

Please sign in to comment.