blob: 17bddca39e31ce925f88e5c71a76d80e6b8cee2e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- camel/camel-net-utils.c.orig Tue Dec 21 13:38:52 2004
+++ camel/camel-net-utils.c Tue Dec 21 13:40:34 2004
@@ -143,12 +143,21 @@
case EAI_SERVICE:
return NO_DATA;
break;
+#ifdef EAI_ADDRFAMILY
case EAI_ADDRFAMILY:
return NO_ADDRESS;
break;
+#endif
+#if defined(EAI_NODATA) && EAI_NODATA != EAI_NONAME
case EAI_NODATA:
return NO_DATA;
break;
+#endif
+#ifdef EAI_NOFAMILY
+ case EAI_NOFAMILY:
+ return NO_ADDRESS;
+ break;
+#endif
case EAI_MEMORY:
return ENOMEM;
break;
|