aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/hostthre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostthre.c b/lib/hostthre.c
index 7687038f2..13761c587 100644
--- a/lib/hostthre.c
+++ b/lib/hostthre.c
@@ -350,7 +350,7 @@ static unsigned __stdcall getaddrinfo_thread (void *arg)
struct addrinfo *res;
char service [NI_MAXSERV];
int rc;
- addrinfo hints = td->hints;
+ struct addrinfo hints = td->hints;
/* Duplicate the passed mutex handle.
* This allows us to use it even after the container gets destroyed