screen-share: Fix start-on-startup config option handling
The code currently checked the return value of weston_config_section_get_bool() which is incorrect. The return value of weston_config_section_get_bool() is zero whether the config option is present or not, and it is non-zero in case the config option is not present. The code must check whether the config option is either true or false, or in case the option is not present then default to false. Adjust the code accordingly. Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Signed-off-by: Marek Vasut <marex@denx.de>
parent
f079f436
Loading
Loading
Pipeline
#489210
passed
with stages
in
3 minutes and 47 seconds
Loading
Please register or sign in to comment