Support for doing DNS at the proxy end. I've invented a new type of
[u/mdw/putty] / psftp.c
diff --git a/psftp.c b/psftp.c
index 47f8b63..94d7364 100644 (file)
--- a/psftp.c
+++ b/psftp.c
@@ -832,7 +832,7 @@ int sftp_cmd_chmod(struct sftp_command *cmd)
            if (!(subset & 06777) && (perms &~ subset)) {
                printf("chmod: file mode '%.*s' contains no user/group/other"
                       " specifier and permissions other than 't' \n",
-                      strcspn(modebegin, ","), modebegin, *mode);
+                      strcspn(modebegin, ","), modebegin);
                return 0;
            }
            perms &= subset;