X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fretr.c;h=9a4ff9573671d0ad727d7a78cf71bf704709aba2;hp=dd6380d3d4c399c94e07c0aff6a75fc8047e948f;hb=72eca0976b06d20ed1a4aef2c47e74f9b590a3bb;hpb=9588e1af8012721db889faea24a771fd2763e50e diff --git a/src/retr.c b/src/retr.c index dd6380d3..9a4ff957 100644 --- a/src/retr.c +++ b/src/retr.c @@ -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);