Remove the "rsync:" prefixes on FINFO messages. Return the "building file
[rsync/rsync.git] / util.c
diff --git a/util.c b/util.c
index f3c126b..8ba3474 100644 (file)
--- a/util.c
+++ b/util.c
@@ -86,7 +86,7 @@ int fd_pair(int fd[2])
 
 void print_child_argv(char **cmd)
 {
-       rprintf(FINFO, RSYNC_NAME ": open connection using ");
+       rprintf(FINFO, "opening connection using ");
        for (; *cmd; cmd++) {
                /* Look for characters that ought to be quoted.  This
                * is not a great quoting algorithm, but it's
@@ -121,7 +121,7 @@ pid_t piped_child(char **command, int *f_in, int *f_out)
        int from_child_pipe[2];
        extern int blocking_io;
        
-       if (verbose > 0) {
+       if (verbose >= 2) {
                print_child_argv(command);
        }
 
@@ -559,7 +559,7 @@ static void glob_expand_one(char *s, char **argv, int *argc, int maxargs)
                globfree(&globbuf);
                return;
        }
-       for (i=0; i<(maxargs - (*argc)) && i<globbuf.gl_pathc;i++) {
+       for (i=0; i<(maxargs - (*argc)) && i < (int) globbuf.gl_pathc;i++) {
                if (i == 0) free(argv[*argc]);
                argv[(*argc) + i] = strdup(globbuf.gl_pathv[i]);
                if (!argv[(*argc) + i]) out_of_memory("glob_expand");