diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2014-01-16 10:50:10 +0000 |
---|---|---|
committer | Lionel Landwerlin <llandwerlin@gmail.com> | 2014-01-19 18:26:37 +0000 |
commit | aea9575bf50ff3899ddb4d9763db0313a6377710 (patch) | |
tree | 60eddb79da8b9c3371649abc2f2b35f7bea40c7f | |
parent | 3c9849e3251534ff1dc0a24e5b9ba9561a2d6404 (diff) | |
download | libsoup-aea9575bf50ff3899ddb4d9763db0313a6377710.tar.gz |
tests: headers-parsing: allow checks with case insensitive headers fields
https://bugzilla.gnome.org/show_bug.cgi?id=722341
-rw-r--r-- | tests/header-parsing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/header-parsing.c b/tests/header-parsing.c index 5b2950fc..52b2279b 100644 --- a/tests/header-parsing.c +++ b/tests/header-parsing.c @@ -727,7 +727,7 @@ check_headers (Header *headers, SoupMessageHeaders *hdrs) } for (i = 0, h = header_names; headers[i].name && h; i++, h = h->next) { - if (strcmp (h->data, headers[i].name) != 0) { + if (g_ascii_strcasecmp (h->data, headers[i].name) != 0) { ok = FALSE; break; } |