Use Gnulib's quote function in res.c.

This commit is contained in:
Steven Schubiger 2008-04-16 12:31:17 +02:00
parent 87f85de75b
commit a358b3b69a
2 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@
* openssl.c: Likewise.
* progress.c: Likewise.
* recur.c: Likewise.
* res.c: Likewise.
2008-04-16 Steven Schubiger <schubiger@gmail.com>

View File

@ -463,9 +463,9 @@ res_match_path (const struct robot_specs *specs, const char *path)
if (matches (specs->paths[i].path, path))
{
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",
path, specs->paths[i].path));
path, quote (specs->paths[i].path)));
return allowedp;
}
return true;