comparisions should be case-insensitive

This commit is contained in:
Bob Halley
1999-01-30 04:27:13 +00:00
parent 8507d64d0c
commit 70db22e93b
+1 -1
View File
@@ -1061,7 +1061,7 @@ static int
cmp_label(dns_label_t *a, dns_label_t *b) {
int i;
i = strncmp(a->base, b->base, MIN(a->length, b->length));
i = strncasecmp(a->base, b->base, MIN(a->length, b->length));
if (i == 0 && a->length != b->length)
return(a->length < b->length ? -1 : 1);