Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
test "commit -S" and "log --show-signature"
[gitweb.git]
/
compat
/
mingw.c
diff --git
a/compat/mingw.c
b/compat/mingw.c
index 8e17daeac3dee79cedf0aeed73527d16f27e4527..efdc703257c9589018e59dc5bc93e9980e0f30b6 100644
(file)
--- a/
compat/mingw.c
+++ b/
compat/mingw.c
@@
-1183,7
+1183,7
@@
static int WSAAPI getaddrinfo_stub(const char *node, const char *service,
}
ai->ai_addrlen = sizeof(struct sockaddr_in);
if (hints && (hints->ai_flags & AI_CANONNAME))
- ai->ai_canonname = h ? strdup(h->h_name) : NULL;
+ ai->ai_canonname = h ?
x
strdup(h->h_name) : NULL;
else
ai->ai_canonname = NULL;