projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8267459
)
- remove _break
author
Bart Polot
<bart@net.in.tum.de>
Thu, 6 Feb 2014 17:52:35 +0000
(17:52 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Thu, 6 Feb 2014 17:52:35 +0000
(17:52 +0000)
src/mesh/gnunet-service-mesh_connection.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh_connection.c
b/src/mesh/gnunet-service-mesh_connection.c
index 654abb52933d6b985ebdcd8405066ad1956e5761..59b4f4a4ba0708882ff8dc6b51bee9664a36c8fa 100644
(file)
--- a/
src/mesh/gnunet-service-mesh_connection.c
+++ b/
src/mesh/gnunet-service-mesh_connection.c
@@
-1021,10
+1021,11
@@
schedule_next_keepalive (struct MeshConnection *c, int fwd)
keepalive_task = &connection_bck_keepalive;
}
- /* Check that no one scheduled it before us
(and alert in that case)
*/
+ /* Check that no one scheduled it before us */
if (GNUNET_SCHEDULER_NO_TASK != *task_id)
{
- GNUNET_break (0);
+ /* No need for a _break. It can happen for instance when sending a SYNACK
+ * for a duplicate SYN: the first SYNACK scheduled the task. */
GNUNET_SCHEDULER_cancel (*task_id);
}