[libsoup] tests: headers-parsing: allow checks with case insensitive headers fields
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] tests: headers-parsing: allow checks with case insensitive headers fields
- Date: Sun, 19 Jan 2014 18:31:07 +0000 (UTC)
commit aea9575bf50ff3899ddb4d9763db0313a6377710
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Thu Jan 16 10:50:10 2014 +0000
tests: headers-parsing: allow checks with case insensitive headers fields
https://bugzilla.gnome.org/show_bug.cgi?id=722341
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 5b2950f..52b2279 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]