From f68363d29c314736cc8023a18d2b424a07c33c6d Mon Sep 17 00:00:00 2001 From: jacob Date: Sat, 1 Jan 2005 16:35:57 +0000 Subject: [PATCH] Now that rm, mkdir, and rmdir can operate on lots of files, make them more chatty like the other multiple-file commands. git-svn-id: svn://svn.tartarus.org/sgt/putty@5059 cda61777-01e9-0310-a592-d414129be87e --- psftp.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/psftp.c b/psftp.c index 54c3d793..904ddb88 100644 --- a/psftp.c +++ b/psftp.c @@ -1396,7 +1396,8 @@ int sftp_cmd_mkdir(struct sftp_command *cmd) printf("mkdir %s: %s\n", dir, fxp_error()); sfree(dir); ret = 0; - } + } else + printf("mkdir %s: OK\n", dir); sfree(dir); } @@ -1420,6 +1421,8 @@ static int sftp_action_rmdir(void *vctx, char *dir) return 0; } + printf("rmdir %s: OK\n", dir); + return 1; } @@ -1460,6 +1463,8 @@ static int sftp_action_rm(void *vctx, char *fname) return 0; } + printf("rm %s: OK\n", fname); + return 1; } -- 2.11.0