]> sjero.net Git - wget/blobdiff - src/recur.c
[svn] (download_child_p): Minor optimization to avoid unnecessary call to
[wget] / src / recur.c
index 7339c36533bc3826eb0839c8aa5f54033b512408..8458e48d0c72213c073a6eff192fc370424b9d17 100644 (file)
@@ -458,7 +458,7 @@ download_child_p (const struct urlpos *upos, struct url *parent, int depth,
 
   /* 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"));