schemes_are_similar_p function.
Published in <kvq7eu4okekh2ohb0rdvavt16nbgb02v00@farscape.privy.mev.co.uk>.
+2002-05-16 Ian Abbott <abbotti@mev.co.uk>
+
+ * recur.c (download_child_p): Minor optimization to avoid an
+ unnecessary additional call to schemes_are_similar_p function.
+
2002-05-16 Ian Abbott <abbotti@mev.co.uk>
* url.c (schemes_are_similar_p): New function to test enumerated
2002-05-16 Ian Abbott <abbotti@mev.co.uk>
* url.c (schemes_are_similar_p): New function to test enumerated
/* 2. If it is an absolute link and they are not followed, throw it
out. */
/* 2. If it is an absolute link and they are not followed, throw it
out. */
- if (schemes_are_similar_p (u->scheme, SCHEME_HTTP))
+ if (u_scheme_like_http)
if (opt.relative_only && !upos->link_relative_p)
{
DEBUGP (("It doesn't really look like a relative link.\n"));
if (opt.relative_only && !upos->link_relative_p)
{
DEBUGP (("It doesn't really look like a relative link.\n"));