1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-20 18:02:58 +03:00

some tweaks of scp example

This commit is contained in:
Aris Adamantiadis
2009-08-12 00:04:04 +02:00
parent 8dae851836
commit 1e1c13f756

View File

@ -183,7 +183,7 @@ static int do_copy(struct location *src, struct location *dest){
socket_t fd; socket_t fd;
struct stat s; struct stat s;
int w,r; int w,r;
char buffer[4196]; char buffer[16384];
int total=0; int total=0;
/*FIXME*/ /*FIXME*/
if(dest->is_ssh && !src->is_ssh){ if(dest->is_ssh && !src->is_ssh){