From 7ed7dad3b4379306c189efed45abf6f8d823b55c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 2 Dec 2010 12:40:59 +0100 Subject: [PATCH] cpp: s/#elsif/#elif This looks like a typo as #elsif is not really C... --- src/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/misc.c b/src/misc.c index cbea039..489605c 100644 --- a/src/misc.c +++ b/src/misc.c @@ -100,7 +100,7 @@ _libssh2_recv(libssh2_socket_t sock, void *buffer, size_t length, int flags) #ifdef WIN32 if (rc < 0 ) return -wsa2errno(); -#elsif defined(__VMS) +#elif defined(__VMS) if (rc < 0 ){ if ( errno == EWOULDBLOCK ) return -EAGAIN; @@ -126,7 +126,7 @@ _libssh2_send(libssh2_socket_t sock, const void *buffer, size_t length, #ifdef WIN32 if (rc < 0 ) return -wsa2errno(); -#elsif defined(__VMS) +#elif defined(__VMS) if (rc < 0 ) { if ( errno == EWOULDBLOCK ) return -EAGAIN;