utils-http: Simplify unclear expression discovered by clang

Closes #5013
This commit is contained in:
Chris Williams
2025-02-02 22:35:49 -05:00
committed by Patrick
parent a8547d6236
commit 23583b7791

View File

@@ -257,7 +257,7 @@ check_header(char **value_out,
if (realsize < hlen + 1)
return;
if (!g_ascii_strncasecmp(buffer, header, hlen) == 0 ||
if (g_ascii_strncasecmp (buffer, header, hlen) != 0 ||
buffer[hlen] != ':')
return;