Skip to content

Commit

Permalink
sftp_write: enlarge buffer to perform better
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Nov 10, 2010
1 parent 1d11d02 commit 1d2a5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/sftp_write.c
Expand Up @@ -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;

Expand Down

0 comments on commit 1d2a5b8

Please sign in to comment.