From: tho Date: Thu, 12 Feb 2009 14:33:50 +0000 (+0000) Subject: Socket/Protocols/INet/MulticastSocketProtocol: minor bugfix X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=1963b8cc2e76609ed7ffc6e638a267295a374ddc;p=senf.git Socket/Protocols/INet/MulticastSocketProtocol: minor bugfix git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1117 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Socket/Protocols/INet/MulticastSocketProtocol.cc b/Socket/Protocols/INet/MulticastSocketProtocol.cc index 8ec8629..e37108f 100644 --- a/Socket/Protocols/INet/MulticastSocketProtocol.cc +++ b/Socket/Protocols/INet/MulticastSocketProtocol.cc @@ -79,7 +79,7 @@ prefix_ void senf::MulticastSocketProtocol::mcIface(std::string const & iface) const { struct ip_mreqn mreqn; - ::memset(&mreqn,sizeof(mreqn),0); + ::memset(&mreqn, 0, sizeof(mreqn)); if (!iface.empty()) { mreqn.imr_ifindex = if_nametoindex(iface.c_str()); if (mreqn.imr_ifindex == 0) @@ -372,7 +372,7 @@ prefix_ void senf::INet6MulticastSocketProtocol::mcLeaveSSMSource(INet6Address c #undef prefix_ //#include "MulticastSocketProtocol.mpp" - + // Local Variables: // mode: c++ // fill-column: 100