]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
profile: try to keep the default htsp profile even when not set in ACL
authorJaroslav Kysela <perex@perex.cz>
Sun, 2 Nov 2014 15:21:42 +0000 (16:21 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 2 Nov 2014 15:21:42 +0000 (16:21 +0100)
src/profile.c

index f6df0a66d063db5953d99ec25a7db2cbe3b94deb..dabe614b5aa0148f12282fa42d3b4b3f4e4699cd 100644 (file)
@@ -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;
 }