Update examples/scp.c to fix bug where large files on win32 would cause got to wrap and go negative
Этот коммит содержится в:
родитель
6c84a426be
Коммит
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;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user