From: Matthias Wachs Date: Wed, 21 Dec 2011 12:39:28 +0000 (+0000) Subject: fixed assertion: wrong return value X-Git-Tag: initial-import-from-subversion-38251~15547 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8fe3f5934e4706f599410ef9c5a5b79bb7e3c875;p=oweals%2Fgnunet.git fixed assertion: wrong return value --- diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 165455856..29c4c8c1d 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c @@ -2442,7 +2442,7 @@ libgnunet_plugin_transport_udp_done (void *cls) /* Join the multicast address */ if (GNUNET_NETWORK_socket_setsockopt (plugin->sockv6, IPPROTO_IPV6, IPV6_LEAVE_GROUP, - (char *) &multicastRequest, sizeof (multicastRequest)) == 0) + (char *) &multicastRequest, sizeof (multicastRequest)) == GNUNET_OK) { LOG (GNUNET_ERROR_TYPE_DEBUG, "IPv6 Broadcasting stopped\n"); }