This commit is contained in:
J. Nick Koston 2025-06-29 21:06:04 -05:00
parent f5df5f71a3
commit 849d99b0dc
No known key found for this signature in database

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) // Case-insensitive string search (like strstr but case-insensitive)
const char *stristr(const char *haystack, const char *needle) { const char *stristr(const char *haystack, const char *needle) {
if (!haystack || !needle) { if (!haystack) {
return nullptr; return nullptr;
} }