From: Jaroslav Kysela Date: Sun, 2 Nov 2014 15:21:42 +0000 (+0100) Subject: profile: try to keep the default htsp profile even when not set in ACL X-Git-Tag: v4.1~861 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa48fe7c87947abdbcc81b8cd085c30cadea90f2;p=thirdparty%2Ftvheadend.git profile: try to keep the default htsp profile even when not set in ACL --- diff --git a/src/profile.c b/src/profile.c index f6df0a66d..dabe614b5 100644 --- a/src/profile.c +++ b/src/profile.c @@ -364,7 +364,7 @@ profile_find_by_list(htsmsg_t *uuids, const char *name, const char *alt) res = pro; } if (!res) - res = profile_find_by_name(NULL, NULL); + res = profile_find_by_name(!strcmp(alt, "htsp") ? "htsp" : NULL, NULL); return res; }