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:
@ -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){
|
||||||
|
Reference in New Issue
Block a user