From fa48fe7c87947abdbcc81b8cd085c30cadea90f2 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sun, 2 Nov 2014 16:21:42 +0100 Subject: [PATCH] profile: try to keep the default htsp profile even when not set in ACL --- src/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/profile.c b/src/profile.c index f6df0a66..dabe614b 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; }