Skip to content
Permalink
Browse files

hlefebvre: fix linter errors

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

0 comments on commit 7b58f4e

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