]> sjero.net Git - wget/commitdiff
Use Gnulib's quote function in res.c.
authorSteven Schubiger <schubiger@gmail.com>
Wed, 16 Apr 2008 10:31:17 +0000 (12:31 +0200)
committerSteven Schubiger <schubiger@gmail.com>
Wed, 16 Apr 2008 10:31:17 +0000 (12:31 +0200)
src/ChangeLog
src/res.c

index 8d9b6ac2f101f8ea65552f57530186435461aecd..5be96475e2ac56a9bfa00190be28b82abe3b6c92 100644 (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>
 
index 0be3f7621f34afba367c3b94e1f5f41d854d35ce..8c35f0e1cfae726a877e23e12b4ac44256d940ff 100644 (file)
--- a/src/res.c
+++ b/src/res.c
@@ -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;