After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 732739 - ginetsocketaddress: Explicitly initialise flags for getaddrinfo()
ginetsocketaddress: Explicitly initialise flags for getaddrinfo()
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: network
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2014-07-04 13:07 UTC by Philip Withnall
Modified: 2014-07-06 11:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ginetsocketaddress: Explicitly initialise flags for getaddrinfo() (1.28 KB, patch)
2014-07-04 13:07 UTC, Philip Withnall
committed Details | Review

Description Philip Withnall 2014-07-04 13:07:15 UTC
Trivial patch attached.
Comment 1 Philip Withnall 2014-07-04 13:07:18 UTC
Created attachment 279904 [details] [review]
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.
Comment 2 Dan Winship 2014-07-05 15:21:55 UTC
Comment on attachment 279904 [details] [review]
ginetsocketaddress: Explicitly initialise flags for getaddrinfo()

sure
Comment 3 Philip Withnall 2014-07-06 11:57:14 UTC
Attachment 279904 [details] pushed as 60226a0 - ginetsocketaddress: Explicitly initialise flags for getaddrinfo()