1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-08 21:03:49 +01:00
This commit is contained in:
J. Nick Koston
2025-06-29 21:06:04 -05:00
parent f5df5f71a3
commit 849d99b0dc

View File

@@ -19,7 +19,7 @@ bool str_ncmp_ci(const char *s1, const char *s2, size_t n) {
// Case-insensitive string search (like strstr but case-insensitive)
const char *stristr(const char *haystack, const char *needle) {
if (!haystack || !needle) {
if (!haystack) {
return nullptr;
}