From bcc375bf6c191efd5243ff21e274d261354d99a4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 18 Dec 2013 14:29:56 +0000 Subject: -learn routes from forwarding/receiving as well --- src/dv/dv_api.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/dv/dv_api.c') diff --git a/src/dv/dv_api.c b/src/dv/dv_api.c index 4cd072eb7..5932c7459 100644 --- a/src/dv/dv_api.c +++ b/src/dv/dv_api.c @@ -200,7 +200,7 @@ reconnect (struct GNUNET_DV_ServiceHandle *sh); /** * Gives a message from our queue to the DV service. * - * @param cls handle to the dv service (struct GNUNET_DV_ServiceHandle) + * @param cls handle to the dv service (`struct GNUNET_DV_ServiceHandle`) * @param size how many bytes can we send * @param buf where to copy the message to send * @return how many bytes we copied to @a buf @@ -228,6 +228,10 @@ transmit_pending (void *cls, size_t size, void *buf) sh->th_tail, th); memcpy (&cbuf[ret], th->msg, tsize); + LOG (GNUNET_ERROR_TYPE_DEBUG, + "Passing %u bytes of type %u to DV service\n", + tsize, + ntohs (th->msg->type)); th->msg = NULL; ret += tsize; if (NULL != th->cb) -- cgit v1.2.3