[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r21278 - gnunet/src/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r21278 - gnunet/src/fs |
Date: |
Sat, 5 May 2012 17:51:11 +0200 |
Author: grothoff
Date: 2012-05-05 17:51:11 +0200 (Sat, 05 May 2012)
New Revision: 21278
Modified:
gnunet/src/fs/fs_dirmetascan.c
gnunet/src/fs/gnunet-helper-fs-publish.c
Log:
-nodebug #2300
Modified: gnunet/src/fs/fs_dirmetascan.c
===================================================================
--- gnunet/src/fs/fs_dirmetascan.c 2012-05-05 15:50:43 UTC (rev 21277)
+++ gnunet/src/fs/fs_dirmetascan.c 2012-05-05 15:51:11 UTC (rev 21278)
@@ -257,9 +257,11 @@
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))
Modified: gnunet/src/fs/gnunet-helper-fs-publish.c
===================================================================
--- gnunet/src/fs/gnunet-helper-fs-publish.c 2012-05-05 15:50:43 UTC (rev
21277)
+++ gnunet/src/fs/gnunet-helper-fs-publish.c 2012-05-05 15:51:11 UTC (rev
21278)
@@ -186,9 +186,11 @@
{
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 !=
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r21278 - gnunet/src/fs,
gnunet <=