[libsoup/wip/soup-uri-removal: 13/21] uri: Fix scheme comparison in soup_uri_host_equal
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/soup-uri-removal: 13/21] uri: Fix scheme comparison in soup_uri_host_equal
- Date: Sun, 25 Oct 2020 19:42:30 +0000 (UTC)
commit 272dae00d7c68d92f7c6db568a40b318e00e0866
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Tue Oct 13 15:13:02 2020 +0200
uri: Fix scheme comparison in soup_uri_host_equal
Fixes ntlm-test.
libsoup/soup-uri.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libsoup/soup-uri.c b/libsoup/soup-uri.c
index 447a3a0d..de328d3b 100644
--- a/libsoup/soup-uri.c
+++ b/libsoup/soup-uri.c
@@ -439,7 +439,7 @@ soup_uri_host_equal (gconstpointer v1, gconstpointer v2)
if (one == two)
return TRUE;
- if (!g_ascii_strcasecmp (g_uri_get_scheme (one), g_uri_get_scheme (two)))
+ if (g_ascii_strcasecmp (g_uri_get_scheme (one), g_uri_get_scheme (two)) != 0)
return FALSE;
one_port = g_uri_get_port (one);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]