summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_manipulation.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-05-17 11:29:51 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-05-17 11:29:51 +0000
commitf5b9bad850bb65c0047eb8a0f078eafab6cda3a4 (patch)
tree288214d305bf1b4e4c5d4bb7effe8c7305d01922 /src/transport/gnunet-service-transport_manipulation.c
parente3e29708ab1a04a7bab722d928baab7bec1b0320 (diff)
debug msg
Diffstat (limited to 'src/transport/gnunet-service-transport_manipulation.c')
-rw-r--r--src/transport/gnunet-service-transport_manipulation.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_manipulation.c b/src/transport/gnunet-service-transport_manipulation.c
index b3b7a84df..f325b07cc 100644
--- a/src/transport/gnunet-service-transport_manipulation.c
+++ b/src/transport/gnunet-service-transport_manipulation.c
@@ -436,6 +436,9 @@ GST_manipulation_send (const struct GNUNET_PeerIdentity *target, const void *msg
GNUNET_CONTAINER_DLL_insert_tail (tmp->send_head, tmp->send_tail, dqe);
if (GNUNET_SCHEDULER_NO_TASK == tmp->send_delay_task)
tmp->send_delay_task =GNUNET_SCHEDULER_add_delayed (delay, &send_delayed, dqe);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Delaying %u byte message to peer `%s' with generic delay for %llu ms\n",
+ msg_size, GNUNET_i2s (target), (long long unsigned int) delay.rel_value);
return;
}
}
@@ -456,6 +459,9 @@ GST_manipulation_send (const struct GNUNET_PeerIdentity *target, const void *msg
GNUNET_CONTAINER_DLL_insert_tail (generic_dqe_head, generic_dqe_tail, dqe);
if (GNUNET_SCHEDULER_NO_TASK == generic_send_delay_task)
generic_send_delay_task = GNUNET_SCHEDULER_add_delayed (delay, &send_delayed, dqe);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Delaying %u byte message to peer `%s' with peer specific delay for %llu ms\n",
+ msg_size, GNUNET_i2s (target), (long long unsigned int) delay.rel_value);
return;
}