]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - psftp.c
Simplifiy handling of stdin data in SSH-2.
[PuTTY.git] / psftp.c
diff --git a/psftp.c b/psftp.c
index 92b57a2f363793b94b95aa9aa2128505dd13b6a0..a718b794dc779ee87b36958891e0188f29e816ee 100644 (file)
--- a/psftp.c
+++ b/psftp.c
@@ -2618,6 +2618,10 @@ int sftp_senddata(char *buf, int len)
     back->send(backhandle, buf, len);
     return 1;
 }
+int sftp_sendbuffer(void)
+{
+    return back->sendbuffer(backhandle);
+}
 
 /*
  *  Short description of parameters.
@@ -2941,6 +2945,8 @@ int psftp_main(int argc, char *argv[])
     argv += i;
     back = NULL;
 
+    platform_psftp_post_option_setup();
+
     /*
      * If the loaded session provides a hostname, and a hostname has not
      * otherwise been specified, pop it in `userhost' so that