Skip to content
Commit e54902bd authored by Emil Gydesen's avatar Emil Gydesen Committed by Carles Cufí
Browse files

Samples: Bluetooth: Fix bug in is_substring for broadcast sink



The is_substring did not work for true substrings, as it
would always compare [0] to [0], so it would return false
for the substring "BC" being in "ABC".

Removed the tolower as it is not necessary and fixes the issue.

Signed-off-by: default avatarEmil Gydesen <emil.gydesen@nordicsemi.no>
parent 01bd94ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment