-more logging
This commit is contained in:
parent
fa65f8fd7d
commit
802ba3790f
@ -330,6 +330,10 @@ more:
|
|||||||
msize = ntohs (hdr->size);
|
msize = ntohs (hdr->size);
|
||||||
if (off < msize)
|
if (off < msize)
|
||||||
continue;
|
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))
|
switch (ntohs (hdr->type))
|
||||||
{
|
{
|
||||||
case TALER_HELPER_RSA_MT_AVAIL:
|
case TALER_HELPER_RSA_MT_AVAIL:
|
||||||
|
@ -81,6 +81,10 @@ TES_transmit (int sock,
|
|||||||
const void *pos = hdr;
|
const void *pos = hdr;
|
||||||
uint16_t end = ntohs (hdr->size);
|
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)
|
while (off < end)
|
||||||
{
|
{
|
||||||
ssize_t ret = send (sock,
|
ssize_t ret = send (sock,
|
||||||
|
Loading…
Reference in New Issue
Block a user