mirror of
https://github.com/libssh2/libssh2.git
synced 2025-07-29 13:01:14 +03:00
Update examples/scp.c to fix bug where large files on win32 would cause got to wrap and go negative
This commit is contained in:
committed by
Alexander Lamaison
parent
6c84a426be
commit
a49f479b4c
@ -43,7 +43,7 @@ int main(int argc, char *argv[])
|
||||
const char *scppath="/tmp/TEST";
|
||||
libssh2_struct_stat fileinfo;
|
||||
int rc;
|
||||
off_t got=0;
|
||||
libssh2_struct_stat_size got = 0;
|
||||
|
||||
#ifdef WIN32
|
||||
WSADATA wsadata;
|
||||
|
Reference in New Issue
Block a user