[BACK]Return to sftp.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sftp.c between version 1.206 and 1.207

version 1.206, 2021/01/08 02:44:14 version 1.207, 2021/03/31 22:16:34
Line 50 
Line 50 
 #include "sftp-common.h"  #include "sftp-common.h"
 #include "sftp-client.h"  #include "sftp-client.h"
   
 #define DEFAULT_COPY_BUFLEN     32768   /* Size of buffer for up/download */  
 #define DEFAULT_NUM_REQUESTS    64      /* # concurrent outstanding requests */  
   
 /* File to read commands from */  /* File to read commands from */
 FILE* infile;  FILE* infile;
   
Line 2294 
Line 2291 
         extern int optind;          extern int optind;
         extern char *optarg;          extern char *optarg;
         struct sftp_conn *conn;          struct sftp_conn *conn;
         size_t copy_buffer_len = DEFAULT_COPY_BUFLEN;          size_t copy_buffer_len = 0;
         size_t num_requests = DEFAULT_NUM_REQUESTS;          size_t num_requests = 0;
         long long limit_kbps = 0;          long long limit_kbps = 0;
   
         /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */          /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */

Legend:
Removed from v.1.206  
changed lines
  Added in v.1.207