diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-08-19 07:47:56 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-08-19 07:47:56 +0000 |
commit | 1e977172cabfffd4fe774b2f13101247bb0e720c (patch) | |
tree | 31675ba3ba6c1f801882ed21c20340b508d2a064 /src/transport/plugin_transport_udp_broadcasting.c | |
parent | bf7f0f51764c29f82be5aeae84dd95de7a857cd3 (diff) | |
download | gnunet-1e977172cabfffd4fe774b2f13101247bb0e720c.tar.gz gnunet-1e977172cabfffd4fe774b2f13101247bb0e720c.zip |
remove dead assignments
Diffstat (limited to 'src/transport/plugin_transport_udp_broadcasting.c')
-rw-r--r-- | src/transport/plugin_transport_udp_broadcasting.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_udp_broadcasting.c b/src/transport/plugin_transport_udp_broadcasting.c index 4b220d156..1f26706d4 100644 --- a/src/transport/plugin_transport_udp_broadcasting.c +++ b/src/transport/plugin_transport_udp_broadcasting.c | |||
@@ -272,7 +272,7 @@ udp_ipv4_broadcast_send (void *cls, | |||
272 | plugin->send_ipv4_broadcast_task = GNUNET_SCHEDULER_NO_TASK; | 272 | plugin->send_ipv4_broadcast_task = GNUNET_SCHEDULER_NO_TASK; |
273 | 273 | ||
274 | msg_size = prepare_beacon(plugin, (struct UDP_Beacon_Message *) &buf); | 274 | msg_size = prepare_beacon(plugin, (struct UDP_Beacon_Message *) &buf); |
275 | sent = 0; | 275 | |
276 | baddr = plugin->ipv4_broadcast_head; | 276 | baddr = plugin->ipv4_broadcast_head; |
277 | /* just IPv4 */ | 277 | /* just IPv4 */ |
278 | while ((msg_size > 0) && (baddr != NULL) && (baddr->addrlen == sizeof (struct sockaddr_in))) | 278 | while ((msg_size > 0) && (baddr != NULL) && (baddr->addrlen == sizeof (struct sockaddr_in))) |
@@ -324,7 +324,6 @@ udp_ipv6_broadcast_send (void *cls, | |||
324 | plugin->send_ipv6_broadcast_task = GNUNET_SCHEDULER_NO_TASK; | 324 | plugin->send_ipv6_broadcast_task = GNUNET_SCHEDULER_NO_TASK; |
325 | 325 | ||
326 | msg_size = prepare_beacon(plugin, (struct UDP_Beacon_Message *) &buf); | 326 | msg_size = prepare_beacon(plugin, (struct UDP_Beacon_Message *) &buf); |
327 | sent = 0; | ||
328 | sent = GNUNET_NETWORK_socket_sendto (plugin->sockv6, &buf, msg_size, | 327 | sent = GNUNET_NETWORK_socket_sendto (plugin->sockv6, &buf, msg_size, |
329 | (const struct sockaddr *) | 328 | (const struct sockaddr *) |
330 | &plugin->ipv6_multicast_address, | 329 | &plugin->ipv6_multicast_address, |