aboutsummaryrefslogtreecommitdiff
path: root/examples/libssh_scp.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-08-12 00:04:04 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-08-12 00:04:04 +0200
commit1e1c13f756287e14ff37b6410ef29c67494c830b (patch)
tree8554b1cc1b4378ed35da88dadb3d7c310f374a9e /examples/libssh_scp.c
parent8dae85183682dbef2b01ef7956c734bad27aca7e (diff)
downloadlibssh-1e1c13f756287e14ff37b6410ef29c67494c830b.tar.gz
libssh-1e1c13f756287e14ff37b6410ef29c67494c830b.tar.xz
libssh-1e1c13f756287e14ff37b6410ef29c67494c830b.zip
some tweaks of scp example
Diffstat (limited to 'examples/libssh_scp.c')
-rw-r--r--examples/libssh_scp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/libssh_scp.c b/examples/libssh_scp.c
index 1a3f08ac..626bd3f2 100644
--- a/examples/libssh_scp.c
+++ b/examples/libssh_scp.c
@@ -183,7 +183,7 @@ static int do_copy(struct location *src, struct location *dest){
socket_t fd;
struct stat s;
int w,r;
- char buffer[4196];
+ char buffer[16384];
int total=0;
/*FIXME*/
if(dest->is_ssh && !src->is_ssh){