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
int from_child_pipe[2];
extern int blocking_io;
- if (verbose > 0) {
+ if (verbose >= 2) {
print_child_argv(command);
}
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");