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:
8b2a06b
)
- de-duplicate ifs
author
Bart Polot
<bart@net.in.tum.de>
Fri, 11 Apr 2014 15:30:33 +0000
(15:30 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Fri, 11 Apr 2014 15:30:33 +0000
(15:30 +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 7315b607f707554211e25e5f40cea7ae6a094e39..fccb89055bc64e68524c1730afd3936a762f3add 100644
(file)
--- a/
src/mesh/gnunet-service-mesh_connection.c
+++ b/
src/mesh/gnunet-service-mesh_connection.c
@@
-639,6
+639,8
@@
message_sent (void *cls,
{
GNUNET_assert (NULL != q);
fc->last_pid_sent = pid;
+ GMC_send_ack (c, fwd, GNUNET_NO);
+ connection_reset_timeout (c, fwd);
}
LOG (GNUNET_ERROR_TYPE_DEBUG, "! Q_N- %p %u\n", fc, fc->queue_n);
@@
-655,11
+657,6
@@
message_sent (void *cls,
"! forced, Q_N not accounting pid %u\n",
fc->last_pid_sent);
}
- if (GNUNET_YES == sent)
- {
- GMC_send_ack (c, fwd, GNUNET_NO);
- connection_reset_timeout (c, fwd);
- }
break;
case GNUNET_MESSAGE_TYPE_MESH_POLL: