From 9a490c96a074f4c3c82a3f01c18bc74cc19ae184 Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Sun, 26 Jul 2009 21:45:33 -0400 Subject: [PATCH] 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 --- src/rx/rx_lwp.c | 2 +- src/rx/rx_pthread.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5