Windows has no EAI_SYSTEM (introduced by 5f6c01ea6172ed), but everyone
has EAI_AGAIN - which also fits ("a temporary failure in name resolution").

Trac #276

Signed-off-by: Gert Doering <g...@greenie.muc.de>
---
 src/openvpn/socket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c
index e751154..4f1139d 100644
--- a/src/openvpn/socket.c
+++ b/src/openvpn/socket.c
@@ -417,7 +417,7 @@ openvpn_getaddrinfo (unsigned int flags,
                           ASSERT(res);
                           freeaddrinfo(*res);
                           *res = NULL;
-                          status = EAI_SYSTEM;
+                          status = EAI_AGAIN;  /* = temporary failure */
                           errno = EINTR;
                       }
                       goto done;
-- 
2.3.6


Reply via email to