sftp_write: enlarge buffer to perform better
This commit is contained in:
parent
1d11d02aa9
commit
1d2a5b8456
@ -50,7 +50,7 @@ int main(int argc, char *argv[])
|
||||
FILE *local;
|
||||
LIBSSH2_SFTP *sftp_session;
|
||||
LIBSSH2_SFTP_HANDLE *sftp_handle;
|
||||
char mem[1024];
|
||||
char mem[1024*100];
|
||||
size_t nread;
|
||||
char *ptr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user