[glib] gnetworkaddress: tweak to make Solaris happy
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [glib] gnetworkaddress: tweak to make Solaris happy
- Date: Wed, 24 Jul 2013 14:46:13 +0000 (UTC)
commit 8c748efce1b441cf8aa05f22a24c27a940a29cf7
Author: Dan Winship <danw gnome org>
Date:   Wed Jul 24 10:45:36 2013 -0400
    gnetworkaddress: tweak to make Solaris happy
    
    https://bugzilla.gnome.org/show_bug.cgi?id=704704
 gio/gnetworkaddress.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/gnetworkaddress.c b/gio/gnetworkaddress.c
index 7516d4e..4f6c623 100644
--- a/gio/gnetworkaddress.c
+++ b/gio/gnetworkaddress.c
@@ -254,6 +254,7 @@ g_network_address_parse_sockaddr (GNetworkAddress *addr)
   gchar port[32];
 
   memset (&hints, 0, sizeof (hints));
+  hints.ai_socktype = SOCK_STREAM;
   hints.ai_flags = AI_NUMERICHOST
 #ifdef AI_NUMERICSERV
     | AI_NUMERICSERV
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]