From: Marc Dionne Date: Mon, 27 Jul 2009 01:45:33 +0000 (-0400) Subject: Build fix - pre-processor typos in rx_lwp.c and rx_pthread.c X-Git-Tag: openafs-devel-1_5_61~30 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=9a490c96a074f4c3c82a3f01c18bc74cc19ae184;p=packages%2Fo%2Fopenafs.git Build fix - pre-processor typos in rx_lwp.c and rx_pthread.c Commit 119c756d96c4a7f9e01e4ff6bb20156f1abf761b introduced a typo in two places, using #elif instead of the apparently intended #else. Reviewed-on: http://gerrit.openafs.org/231 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman --- diff --git a/src/rx/rx_lwp.c b/src/rx/rx_lwp.c index 2020c4154..2366cbc11 100644 --- a/src/rx/rx_lwp.c +++ b/src/rx/rx_lwp.c @@ -463,7 +463,7 @@ rxi_Sendmsg(osi_socket socket, struct msghdr *msg_p, int flags) #ifndef AFS_NT40_ENV if (errno > 0) return -errno; -#elif +#else if (WSAGetLastError() > 0) return -WSAGetLastError(); #endif diff --git a/src/rx/rx_pthread.c b/src/rx/rx_pthread.c index eb4f0e0f4..5fdfd8d28 100644 --- a/src/rx/rx_pthread.c +++ b/src/rx/rx_pthread.c @@ -443,7 +443,7 @@ rxi_Sendmsg(osi_socket socket, struct msghdr *msg_p, int flags) #ifndef AFS_NT40_ENV if (errno > 0) return -errno; -#elif +#else if (WSAGetLastError() > 0) return -WSAGetLastError(); #endif