mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Use Gnulib's quote function in res.c.
This commit is contained in:
parent
87f85de75b
commit
a358b3b69a
@ -13,6 +13,7 @@
|
|||||||
* openssl.c: Likewise.
|
* openssl.c: Likewise.
|
||||||
* progress.c: Likewise.
|
* progress.c: Likewise.
|
||||||
* recur.c: Likewise.
|
* recur.c: Likewise.
|
||||||
|
* res.c: Likewise.
|
||||||
|
|
||||||
2008-04-16 Steven Schubiger <schubiger@gmail.com>
|
2008-04-16 Steven Schubiger <schubiger@gmail.com>
|
||||||
|
|
||||||
|
@ -463,9 +463,9 @@ res_match_path (const struct robot_specs *specs, const char *path)
|
|||||||
if (matches (specs->paths[i].path, path))
|
if (matches (specs->paths[i].path, path))
|
||||||
{
|
{
|
||||||
bool allowedp = specs->paths[i].allowedp;
|
bool allowedp = specs->paths[i].allowedp;
|
||||||
DEBUGP (("%s path %s because of rule `%s'.\n",
|
DEBUGP (("%s path %s because of rule %s.\n",
|
||||||
allowedp ? "Allowing" : "Rejecting",
|
allowedp ? "Allowing" : "Rejecting",
|
||||||
path, specs->paths[i].path));
|
path, quote (specs->paths[i].path)));
|
||||||
return allowedp;
|
return allowedp;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user