From: Christian Grothoff Date: Sat, 5 May 2012 15:51:11 +0000 (+0000) Subject: -nodebug #2300 X-Git-Tag: initial-import-from-subversion-38251~13664 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0238d7e2f30821e7b94e9ea25ce3918fcc04b2c3;p=oweals%2Fgnunet.git -nodebug #2300 --- diff --git a/src/fs/fs_dirmetascan.c b/src/fs/fs_dirmetascan.c index 5001b6a14..2c6d914ab 100644 --- a/src/fs/fs_dirmetascan.c +++ b/src/fs/fs_dirmetascan.c @@ -257,9 +257,11 @@ process_helper_msgs (void *cls, const char *filename; size_t left; +#if 0 fprintf (stderr, "DMS parses %u-byte message of type %u\n", (unsigned int) ntohs (msg->size), (unsigned int) ntohs (msg->type)); +#endif left = ntohs (msg->size) - sizeof (struct GNUNET_MessageHeader); filename = (const char*) &msg[1]; switch (ntohs (msg->type)) diff --git a/src/fs/gnunet-helper-fs-publish.c b/src/fs/gnunet-helper-fs-publish.c index 1bcfb37fc..533d5d51a 100644 --- a/src/fs/gnunet-helper-fs-publish.c +++ b/src/fs/gnunet-helper-fs-publish.c @@ -186,9 +186,11 @@ write_message (uint16_t message_type, { struct GNUNET_MessageHeader hdr; +#if 0 fprintf (stderr, "Helper sends %u-byte message of type %u\n", (unsigned int) (sizeof (struct GNUNET_MessageHeader) + data_length), (unsigned int) message_type); +#endif hdr.type = htons (message_type); hdr.size = htons (sizeof (struct GNUNET_MessageHeader) + data_length); if ( (GNUNET_OK !=