gsocket: fix joining/leaving multicast groups
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 15 Nov 2012 10:37:20 +0000 (11:37 +0100)
committerDan Winship <danw@gnome.org>
Thu, 15 Nov 2012 16:09:00 +0000 (11:09 -0500)
commitc2acbc018269a052eb7546950088a0860e3b1545
tree2be7d31dce7a6707b20ef376e5072600fad649de
parent49db979922283364238a5c208671591f713ecd78
gsocket: fix joining/leaving multicast groups

Initialize the structure passed to setsockopt to 0 to avoid random
errors when joining or leaving a multicast group.

https://bugzilla.gnome.org/show_bug.cgi?id=688378
gio/gsocket.c