The print_child_argv() function should be outputting FCLIENT

messages these days, not FINFO.
This commit is contained in:
Wayne Davison
2006-05-29 22:33:06 +00:00
parent 95ae5224b0
commit a3f6dbdf5c

8
util.c
View File

@@ -92,7 +92,7 @@ int fd_pair(int fd[2])
void print_child_argv(char **cmd)
{
rprintf(FINFO, "opening connection using ");
rprintf(FCLIENT, "opening connection using ");
for (; *cmd; cmd++) {
/* Look for characters that ought to be quoted. This
* is not a great quoting algorithm, but it's
@@ -101,12 +101,12 @@ void print_child_argv(char **cmd)
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"0123456789"
",.-_=+@/") != strlen(*cmd)) {
rprintf(FINFO, "\"%s\" ", *cmd);
rprintf(FCLIENT, "\"%s\" ", *cmd);
} else {
rprintf(FINFO, "%s ", *cmd);
rprintf(FCLIENT, "%s ", *cmd);
}
}
rprintf(FINFO, "\n");
rprintf(FCLIENT, "\n");
}
void out_of_memory(char *str)