summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-08-09 23:51:26 +0000
committerMiles Bader <miles@gnu.org>1997-08-09 23:51:26 +0000
commit06e02f0071c42ca4c19110f5f73c22cfd6a1c154 (patch)
treee2836f88c89c5065c76022ccf73165e6d7c45af1 /utils
parent3490c8434e9f446f72a8f52e1c84afeab6db23c3 (diff)
Doc fix.
Diffstat (limited to 'utils')
-rw-r--r--utils/ftpcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/ftpcp.c b/utils/ftpcp.c
index 3782335f..4c4c151a 100644
--- a/utils/ftpcp.c
+++ b/utils/ftpcp.c
@@ -351,6 +351,7 @@ main (int argc, char **argv)
econnect (&wr, &def_params, "DST");
if (rd.conn && wr.conn)
+ /* Both endpoints are remote; directly copy between ftp servers. */
{
err = ftp_conn_rmt_copy (rd.conn, rd.file, wr.conn, wr.file);
if (err == EISDIR)
@@ -364,6 +365,7 @@ main (int argc, char **argv)
error (30, err, "Remote copy");
}
else
+ /* One endpoint is local, so do the copying ourself. */
{
int rd_fd, wr_fd;