From 76b9461ee82a65d7cdd28b487febe20df018cae2 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 12 Nov 2019 18:42:02 -0800 Subject: [PATCH] logClient windows needs SOCK_E* --- modules/libcom/src/log/logClient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/libcom/src/log/logClient.c b/modules/libcom/src/log/logClient.c index 9a09ef7b7..44883e3ed 100644 --- a/modules/libcom/src/log/logClient.c +++ b/modules/libcom/src/log/logClient.c @@ -246,7 +246,7 @@ void epicsShareAPI logClientFlush ( logClientId id ) /* NOOP on Windows, fails on vxWorks */ errno = 0; status = send ( pClient->sock, NULL, 0, 0 ); - if (!(errno == ECONNRESET || errno == EPIPE)) status = 0; + if (!(errno == SOCK_ECONNRESET || errno == SOCK_EPIPE)) status = 0; } if ( status < 0 ) {