1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-09-02 17:21:16 +03:00

remove pointless sleeps

This commit is contained in:
Daniel Stenberg
2009-04-28 10:35:30 +00:00
parent c306119dd6
commit 6409bb53ba
14 changed files with 14 additions and 42 deletions

View File

@@ -1,5 +1,5 @@
/*
* $Id: ssh2.c,v 1.18 2008/11/10 16:48:41 bagder Exp $
* $Id: ssh2.c,v 1.19 2009/04/28 10:35:30 bagder Exp $
*
* Sample showing how to do SSH2 connect.
*
@@ -239,10 +239,8 @@ int main(int argc, char *argv[])
libssh2_session_free(session);
#ifdef WIN32
Sleep(1000);
closesocket(sock);
#else
sleep(1);
close(sock);
#endif
printf("all done!\n");