1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-09-01 06:21:57 +03:00

Sofian Brabez removed duplicate calls to libssh2_session_set_blocking()

This commit is contained in:
Daniel Stenberg
2009-03-31 12:20:36 +00:00
parent 74f4b7817b
commit 5a3da233ec
3 changed files with 3 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
/*
* $Id: sftp_write.c,v 1.9 2008/11/10 16:48:41 bagder Exp $
* $Id: sftp_write.c,v 1.10 2009/03/31 12:20:36 bagder Exp $
*
* Sample showing how to do SFTP write transfers.
*
@@ -155,9 +155,6 @@ int main(int argc, char *argv[])
goto shutdown;
}
/* Since we have not set non-blocking, tell libssh2 we are blocking */
libssh2_session_set_blocking(session, 1);
fprintf(stderr, "libssh2_sftp_open()!\n");
/* Request a file via SFTP */
sftp_handle =