ginetsocketaddress: Explicitly initialise flags for getaddrinfo()
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 4 Jul 2014 13:04:17 +0000 (14:04 +0100)
committerPhilip Withnall <philip@tecnocode.co.uk>
Sun, 6 Jul 2014 11:56:41 +0000 (12:56 +0100)
commit60226a0386158e6969ec406e8af5efde4085d15b
treeaf204d375741a9f6c981b1e2a24bb9b77bf9b122
parent29c48f623fdcf516d6123ee9544087e1f512ed53
ginetsocketaddress: Explicitly initialise flags for getaddrinfo()

This is not a functional change, as the hints field is static and hence
automatically initialised to zero — which happens to be what AF_UNSPEC
and the unspecified protocol are defined as. However, it’s best to be
explicit about this, in case AF_UNSPEC is _not_ defined as zero.

https://bugzilla.gnome.org/show_bug.cgi?id=732739
gio/ginetsocketaddress.c