mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] retr.c: Changed semantics of no_proxy_match.
This commit is contained in:
parent
8c69427125
commit
1ff7c1fa70
@ -1,3 +1,7 @@
|
||||
2005-10-05 Mauro Tortonesi <mauro@ferrara.linux.it>
|
||||
|
||||
* retr.c: Changed semantics of no_proxy_match.
|
||||
|
||||
2005-09-17 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* main.c (main): Don't print the summary if nothing has been downloaded.
|
||||
|
@ -978,7 +978,7 @@ getproxy (struct url *u)
|
||||
|
||||
if (!opt.use_proxy)
|
||||
return NULL;
|
||||
if (!no_proxy_match (u->host, (const char **)opt.no_proxy))
|
||||
if (no_proxy_match (u->host, (const char **)opt.no_proxy))
|
||||
return NULL;
|
||||
|
||||
switch (u->scheme)
|
||||
@ -1018,7 +1018,7 @@ static bool
|
||||
no_proxy_match (const char *host, const char **no_proxy)
|
||||
{
|
||||
if (!no_proxy)
|
||||
return true;
|
||||
return false;
|
||||
else
|
||||
return !sufmatch (no_proxy, host);
|
||||
return sufmatch (no_proxy, host);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user