diff options
-rw-r--r-- | src/fs/fs_dirmetascan.c | 2 | ||||
-rw-r--r-- | src/fs/gnunet-helper-fs-publish.c | 2 |
2 files changed, 4 insertions, 0 deletions
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, | |||
257 | const char *filename; | 257 | const char *filename; |
258 | size_t left; | 258 | size_t left; |
259 | 259 | ||
260 | #if 0 | ||
260 | fprintf (stderr, "DMS parses %u-byte message of type %u\n", | 261 | fprintf (stderr, "DMS parses %u-byte message of type %u\n", |
261 | (unsigned int) ntohs (msg->size), | 262 | (unsigned int) ntohs (msg->size), |
262 | (unsigned int) ntohs (msg->type)); | 263 | (unsigned int) ntohs (msg->type)); |
264 | #endif | ||
263 | left = ntohs (msg->size) - sizeof (struct GNUNET_MessageHeader); | 265 | left = ntohs (msg->size) - sizeof (struct GNUNET_MessageHeader); |
264 | filename = (const char*) &msg[1]; | 266 | filename = (const char*) &msg[1]; |
265 | switch (ntohs (msg->type)) | 267 | 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, | |||
186 | { | 186 | { |
187 | struct GNUNET_MessageHeader hdr; | 187 | struct GNUNET_MessageHeader hdr; |
188 | 188 | ||
189 | #if 0 | ||
189 | fprintf (stderr, "Helper sends %u-byte message of type %u\n", | 190 | fprintf (stderr, "Helper sends %u-byte message of type %u\n", |
190 | (unsigned int) (sizeof (struct GNUNET_MessageHeader) + data_length), | 191 | (unsigned int) (sizeof (struct GNUNET_MessageHeader) + data_length), |
191 | (unsigned int) message_type); | 192 | (unsigned int) message_type); |
193 | #endif | ||
192 | hdr.type = htons (message_type); | 194 | hdr.type = htons (message_type); |
193 | hdr.size = htons (sizeof (struct GNUNET_MessageHeader) + data_length); | 195 | hdr.size = htons (sizeof (struct GNUNET_MessageHeader) + data_length); |
194 | if ( (GNUNET_OK != | 196 | if ( (GNUNET_OK != |