equal
deleted
inserted
replaced
277 case EAI_BADFLAGS: |
277 case EAI_BADFLAGS: |
278 return _("Internal error trying to obtain remote address"); |
278 return _("Internal error trying to obtain remote address"); |
279 case EAI_FAIL: |
279 case EAI_FAIL: |
280 return _("The nameserver encountered errors " |
280 return _("The nameserver encountered errors " |
281 "looking up this address"); |
281 "looking up this address"); |
|
282 /* EAI_NODATA is apparently missing on FreeBSD. On recent GNU libc, |
|
283 * it requires _GNU_SOURCE to be defined; in the unlikely case that |
|
284 * that GNU libc returns this value we'll return the default message */ |
|
285 #ifdef EAI_NODATA |
282 case EAI_NODATA: |
286 case EAI_NODATA: |
283 return _("The remote host exists but no address " |
287 return _("The remote host exists but no address " |
284 "is available"); |
288 "is available"); |
|
289 #endif |
285 case EAI_NONAME: |
290 case EAI_NONAME: |
286 return _("The remote address is unknown"); |
291 return _("The remote address is unknown"); |
287 case EAI_FAMILY: |
292 case EAI_FAMILY: |
288 case EAI_SERVICE: |
293 case EAI_SERVICE: |
289 case EAI_SOCKTYPE: |
294 case EAI_SOCKTYPE: |