From ba7ee410a9718d7076c20955ff4ff6fb260d9acb Mon Sep 17 00:00:00 2001 From: Brad House Date: Fri, 17 Nov 2023 08:27:45 -0500 Subject: [PATCH] ares__htable_strvp should be case-insensitive --- src/lib/ares__htable_strvp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ares__htable_strvp.c b/src/lib/ares__htable_strvp.c index 5455fe34..bfae4c36 100644 --- a/src/lib/ares__htable_strvp.c +++ b/src/lib/ares__htable_strvp.c @@ -79,7 +79,7 @@ static ares_bool_t key_eq(const void *key1, const void *key2) const char *k1 = key1; const char *k2 = key2; - if (strcmp(k1, k2) == 0) { + if (strcasecmp(k1, k2) == 0) { return ARES_TRUE; }