[glib] Fix the build on FreeBSD by replacing EAI_NODATA with EAI_NONAME.
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix the build on FreeBSD by replacing EAI_NODATA with EAI_NONAME.
- Date: Sat, 15 Feb 2014 23:36:10 +0000 (UTC)
commit 9c135707cb0653cc0f7d66ee67921428fa912611
Author: Koop Mast <kwm rainbow-runner nl>
Date: Sat Feb 15 19:54:21 2014 +0100
Fix the build on FreeBSD by replacing EAI_NODATA with EAI_NONAME.
https://bugzilla.gnome.org/show_bug.cgi?id=724434
gio/gresolver.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gresolver.c b/gio/gresolver.c
index 1da8425..730ac1b 100644
--- a/gio/gresolver.c
+++ b/gio/gresolver.c
@@ -314,7 +314,7 @@ handle_ip_address (const char *hostname,
{
g_set_error (error, G_RESOLVER_ERROR, G_RESOLVER_ERROR_NOT_FOUND,
_("Error resolving '%s': %s"),
- hostname, gai_strerror (EAI_NODATA));
+ hostname, gai_strerror (EAI_NONAME));
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]