[libsoup/wip/remove-deprecations] Remove legacy "*" alias support



commit c4b62c2bc2c6da8c14173305164e8ddbe4a20082
Author: Patrick Griffis <pgriffis igalia com>
Date:   Mon Aug 24 14:48:36 2020 -0500

    Remove legacy "*" alias support
    
    This was used by default with the Async/Sync session types that no
    longer exist.

 libsoup/soup-uri.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/libsoup/soup-uri.c b/libsoup/soup-uri.c
index 1e908c42..fd8dc828 100644
--- a/libsoup/soup-uri.c
+++ b/libsoup/soup-uri.c
@@ -1356,10 +1356,7 @@ soup_uri_is_http (SoupURI *uri, char **aliases)
                        return TRUE;
        }
 
-       if (aliases[0] && !aliases[1] && !strcmp (aliases[0], "*"))
-               return TRUE;
-       else
-               return FALSE;
+       return FALSE;
 }
 
 gboolean


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