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:
b7d5f4d
)
- debug
author
Bart Polot
<bart@net.in.tum.de>
Thu, 17 Oct 2013 14:43:07 +0000
(14:43 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Thu, 17 Oct 2013 14:43:07 +0000
(14:43 +0000)
src/mesh/gnunet-service-mesh_tunnel.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh_tunnel.c
b/src/mesh/gnunet-service-mesh_tunnel.c
index 6a6a439432ce1779bb0b76534e14b6509a65366e..89c9a9db1a321c8d996f57c89ea62188cd40fb64 100644
(file)
--- a/
src/mesh/gnunet-service-mesh_tunnel.c
+++ b/
src/mesh/gnunet-service-mesh_tunnel.c
@@
-600,11
+600,12
@@
GMT_send_queued_data (struct MeshTunnel3 *t, int fwd)
LOG (GNUNET_ERROR_TYPE_DEBUG,
"GMT_send_queued_data on tunnel %s\n",
LOG (GNUNET_ERROR_TYPE_DEBUG,
"GMT_send_queued_data on tunnel %s\n",
- GM
P_2s (t->peer
));
+ GM
T_2s (t
));
room = GMT_get_buffer (t, fwd);
LOG (GNUNET_ERROR_TYPE_DEBUG, " buffer space: %u\n", room);
for (tq = t->tq_head; NULL != tq && room > 0; tq = next)
{
room = GMT_get_buffer (t, fwd);
LOG (GNUNET_ERROR_TYPE_DEBUG, " buffer space: %u\n", room);
for (tq = t->tq_head; NULL != tq && room > 0; tq = next)
{
+ LOG (GNUNET_ERROR_TYPE_DEBUG, " data on channel %s\n", GMCH_2s (tq->ch));
next = tq->next;
room--;
GNUNET_CONTAINER_DLL_remove (t->tq_head, t->tq_tail, tq);
next = tq->next;
room--;
GNUNET_CONTAINER_DLL_remove (t->tq_head, t->tq_tail, tq);
@@
-613,6
+614,9
@@
GMT_send_queued_data (struct MeshTunnel3 *t, int fwd)
GNUNET_free (tq);
}
GNUNET_free (tq);
}
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "GMT_send_queued_data end\n",
+ GMP_2s (t->peer));
}
}