projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbca0ac
)
Handle EAI_NODATA==EAI_NONAME in win32 SDK
author
Hans Breuer
<hans@breuer.org>
Sat, 30 May 2009 13:18:02 +0000
(15:18 +0200)
committer
Hans Breuer
<hans@breuer.org>
Sat, 30 May 2009 13:18:02 +0000
(15:18 +0200)
gio/gresolver.c
patch
|
blob
|
history
diff --git
a/gio/gresolver.c
b/gio/gresolver.c
index
2b4b746
..
e7a1754
100644
(file)
--- a/
gio/gresolver.c
+++ b/
gio/gresolver.c
@@
-636,7
+636,9
@@
g_resolver_error_from_addrinfo_error (gint err)
switch (err)
{
case EAI_FAIL:
+#ifndef G_OS_WIN32 /* defined as NONAME claiming it is removed from rfc2553bis */
case EAI_NODATA:
+#endif
case EAI_NONAME:
return G_RESOLVER_ERROR_NOT_FOUND;