Skip to content
Permalink
Browse files

hlefebvre: fix linter errors

  • Loading branch information...
Hugues LEFEBVRE
Hugues LEFEBVRE committed Apr 26, 2019
1 parent 7d1619b commit 805f85bf6d13f5adaed781263cfdfc37c77413c4
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/misc.c
@@ -175,10 +175,9 @@ _libssh2_send(libssh2_socket_t sock, const void *buffer, size_t length,
if(rc < 0)
return -wsa2errno();
#else
if (rc < 0 )
{
#ifdef EWOULDBLOCK // For VMS and other special unixes
if ( errno == EWOULDBLOCK )
if (rc < 0) {
#ifdef EWOULDBLOCK /* For VMS and other special unixes */
if (errno == EWOULDBLOCK)
return -EAGAIN;
#endif
return -errno;

0 comments on commit 805f85b

Please sign in to comment.
You can’t perform that action at this time.