]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
dvbcam: Fixed saving of a cleared dvbcam caid_list (from WEB UI)
authorJasmin Jessich <jasmin@anw.at>
Thu, 23 Nov 2017 21:53:34 +0000 (22:53 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 24 Nov 2017 07:18:43 +0000 (08:18 +0100)
commita83c1559d852ab2711ea78a0551d656d7bf5c660
tree5a80fc84f67aad7ae6cd16f473b31eaf6dc65849
parent8c0d8bb14d8e901a87d5775f495417b4bd893064
dvbcam: Fixed saving of a cleared dvbcam caid_list (from WEB UI)

caclient_dvbcam_class_caid_list_set didn't count the existing entries in the
dvbcam caid_list. Thus, it couldn't check if the old and the new list size
differ. This was only a problem when the list was cleared, because the
change flag was not set in this case and the empty list was not saved.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
src/descrambler/dvbcam.c