diff options
Diffstat (limited to 'libsoup/soup-uri.c')
-rw-r--r-- | libsoup/soup-uri.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsoup/soup-uri.c b/libsoup/soup-uri.c index be778d6c..c01b3e3b 100644 --- a/libsoup/soup-uri.c +++ b/libsoup/soup-uri.c @@ -224,13 +224,13 @@ soup_scheme_default_port (const char *scheme) } /** - * soup_uri_new_with_base: + * soup_uri_new_with_base: (constructor) * @base: a base URI * @uri_string: the URI * * Parses @uri_string relative to @base. * - * Return value: a parsed #SoupURI. + * Returns: a parsed #SoupURI. **/ SoupURI * soup_uri_new_with_base (SoupURI *base, const char *uri_string) @@ -1348,7 +1348,7 @@ soup_uri_is_http (SoupURI *uri, char **aliases) return TRUE; } - if (!aliases[1] && !strcmp (aliases[0], "*")) + if (aliases[0] && !aliases[1] && !strcmp (aliases[0], "*")) return TRUE; else return FALSE; |