sftp_write: enlarge buffer to perform better

This commit is contained in:
Daniel Stenberg 2010-11-10 15:00:55 +01:00
parent 1d11d02aa9
commit 1d2a5b8456

View File

@ -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;