summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_udp_broadcasting.c
diff options
context:
space:
mode:
authorAlejandra Morales <alejandra.mr88@gmail.com>2013-12-05 10:03:28 +0000
committerAlejandra Morales <alejandra.mr88@gmail.com>2013-12-05 10:03:28 +0000
commit799594805307a3689a9082696f8f4851e523068a (patch)
tree835b0479db52ff975695669e7eeb55855d6e2cc9 /src/transport/plugin_transport_udp_broadcasting.c
parentc2d261bbee6077e65e51b41b4f37d42e87472806 (diff)
GNUNET_TIME_UNIT_FOREVER_REL added to GNUNET_SCHEDULER_add_write_file call
Diffstat (limited to 'src/transport/plugin_transport_udp_broadcasting.c')
-rw-r--r--src/transport/plugin_transport_udp_broadcasting.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_udp_broadcasting.c b/src/transport/plugin_transport_udp_broadcasting.c
index 493b98898..b1b81f758 100644
--- a/src/transport/plugin_transport_udp_broadcasting.c
+++ b/src/transport/plugin_transport_udp_broadcasting.c
@@ -359,8 +359,10 @@ udp_ipv4_broadcast_send (void *cls,
&udp_ipv4_broadcast_send, baddr);
}
else
- GNUNET_SCHEDULER_add_write_file (&baddr->cryogenic_fd,
- &udp_ipv4_broadcast_send, baddr);
+ GNUNET_SCHEDULER_add_write_file (GNUNET_TIME_UNIT_FOREVER_REL,
+ &baddr->cryogenic_fd,
+ &udp_ipv4_broadcast_send,
+ baddr);
}
else
@@ -439,8 +441,10 @@ udp_ipv6_broadcast_send (void *cls,
&udp_ipv6_broadcast_send, baddr);
}
else
- GNUNET_SCHEDULER_add_write_file (&baddr->cryogenic_fd,
- &udp_ipv4_broadcast_send, baddr);
+ GNUNET_SCHEDULER_add_write_file (GNUNET_TIME_UNIT_FOREVER_REL,
+ &baddr->cryogenic_fd,
+ &udp_ipv4_broadcast_send,
+ baddr);
}
else
baddr->broadcast_task =