]> sjero.net Git - wget/blobdiff - src/retr.c
[svn] Commit several minor changes:
[wget] / src / retr.c
index dd6380d3d4c399c94e07c0aff6a75fc8047e948f..9a4ff9573671d0ad727d7a78cf71bf704709aba2 100644 (file)
@@ -476,7 +476,7 @@ retrieve_url (const char *origurl, char **file, char **newloc,
 
       /* The new location is OK.  Let's check for redirection cycle by
          peeking through the history of redirections. */
-      if (string_set_exists (redirections, newloc_struct->url))
+      if (string_set_contains (redirections, newloc_struct->url))
        {
          logprintf (LOG_NOTQUIET, _("%s: Redirection cycle detected.\n"),
                     mynewloc);