summaryrefslogtreecommitdiffstats
path: root/utils/async_netdb.c
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:23:46 +0200
committerSimon Rettberg2021-04-06 14:23:46 +0200
commit26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9 (patch)
treea51e1637554bcd84e63cccb1cb220c898a2c4ee8 /utils/async_netdb.c
parent5.44 (diff)
downloadxscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.gz
xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.xz
xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.zip
xscreensaver 6.00
Diffstat (limited to 'utils/async_netdb.c')
-rw-r--r--utils/async_netdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/async_netdb.c b/utils/async_netdb.c
index 930da40..d9e2102 100644
--- a/utils/async_netdb.c
+++ b/utils/async_netdb.c
@@ -48,10 +48,10 @@ int _async_netdb_is_done (struct io_thread *io)
# define _get_addr_family(addr) ((addr)->x_sockaddr_in.sin_family)
# define _get_addr_len(addr) ((addr)->x_sockaddr_in.sin_len)
-static const int _has_threads = -1;
-
# if ASYNC_NETDB_FAKE_EAI
+static const int _has_threads = -1;
+
const char *_async_netdb_strerror (int errcode)
{
/* (h)strerror should return messages in the user's preferred language. */