(Matt) Made a daemon-refused file an FERROR_XFER with a better message.
authorWayne Davison <wayned@samba.org>
Thu, 7 Feb 2008 19:24:38 +0000 (11:24 -0800)
committerWayne Davison <wayned@samba.org>
Thu, 7 Feb 2008 19:24:38 +0000 (11:24 -0800)
generator.c

index e4e5635..4eb5325 100644 (file)
@@ -1229,11 +1229,9 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
                                excluded_dir = file;
                        }
                  skipping:
-                       if (verbose) {
-                               rprintf(FINFO,
-                                       "skipping server-excluded file \"%s\"\n",
-                                       fname);
-                       }
+                       rprintf(FERROR_XFER,
+                               "skipping daemon-excluded file \"%s\"\n",
+                               fname);
                        return;
                }
        }