From: jacob Date: Sat, 1 Jan 2005 16:35:57 +0000 (+0000) Subject: Now that rm, mkdir, and rmdir can operate on lots of files, make them more X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/f68363d29c314736cc8023a18d2b424a07c33c6d?hp=c1b8799beabc6a0a7adb19c3d2437877af88b952 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 --- 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; }