[libsoup/gnome-3-38] Fix bad rebase in 4bbc39f30a48e38d7c60a375a88d2a2e6a41a0b8



commit 2205af1acb5a2e80368698e66e925a85ee2d5227
Author: Patrick Griffis <pgriffis igalia com>
Date:   Sat Jul 24 14:20:34 2021 -0500

    Fix bad rebase in 4bbc39f30a48e38d7c60a375a88d2a2e6a41a0b8

 libsoup/soup-message-headers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libsoup/soup-message-headers.c b/libsoup/soup-message-headers.c
index b6b3827b..39ad14a0 100644
--- a/libsoup/soup-message-headers.c
+++ b/libsoup/soup-message-headers.c
@@ -1283,7 +1283,7 @@ parse_content_foo (SoupMessageHeaders *hdrs, const char *header_name,
          * is a parameter (foo=bar). */
         equal = strchr (header, '=');
         semi = strchr (header, ';');
-        if (header_name == SOUP_HEADER_CONTENT_DISPOSITION &&
+        if (g_ascii_strcasecmp (header_name, "Content-Disposition") == 0 &&
             (equal && (!semi || (equal < semi)))) {
                 semi = (char *)header;
                 if (foo)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]