-more logging

This commit is contained in:
Christian Grothoff 2021-11-18 13:52:58 +01:00
parent fa65f8fd7d
commit 802ba3790f
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 8 additions and 0 deletions

View File

@ -330,6 +330,10 @@ more:
msize = ntohs (hdr->size);
if (off < msize)
continue;
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Received message of type %u and length %u\n",
(unsigned int) ntohs (hdr->type),
(unsigned int) msize);
switch (ntohs (hdr->type))
{
case TALER_HELPER_RSA_MT_AVAIL:

View File

@ -81,6 +81,10 @@ TES_transmit (int sock,
const void *pos = hdr;
uint16_t end = ntohs (hdr->size);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Sending message of type %u and length %u\n",
(unsigned int) ntohs (hdr->type),
(unsigned int) ntohs (hdr->size));
while (off < end)
{
ssize_t ret = send (sock,