aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-helper-fs-publish.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-05 15:50:43 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-05 15:50:43 +0000
commitac441ba79538344b252e07444e4059f084610d17 (patch)
tree36653a204c14bd7fa8d69febae21131763cc0f14 /src/fs/gnunet-helper-fs-publish.c
parenteb355f3b7bebbd5771c1332d49281d37f214044f (diff)
downloadgnunet-ac441ba79538344b252e07444e4059f084610d17.tar.gz
gnunet-ac441ba79538344b252e07444e4059f084610d17.zip
-ignore
Diffstat (limited to 'src/fs/gnunet-helper-fs-publish.c')
-rw-r--r--src/fs/gnunet-helper-fs-publish.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fs/gnunet-helper-fs-publish.c b/src/fs/gnunet-helper-fs-publish.c
index b96559cd1..1bcfb37fc 100644
--- a/src/fs/gnunet-helper-fs-publish.c
+++ b/src/fs/gnunet-helper-fs-publish.c
@@ -186,6 +186,9 @@ write_message (uint16_t message_type,
186{ 186{
187 struct GNUNET_MessageHeader hdr; 187 struct GNUNET_MessageHeader hdr;
188 188
189 fprintf (stderr, "Helper sends %u-byte message of type %u\n",
190 (unsigned int) (sizeof (struct GNUNET_MessageHeader) + data_length),
191 (unsigned int) message_type);
189 hdr.type = htons (message_type); 192 hdr.type = htons (message_type);
190 hdr.size = htons (sizeof (struct GNUNET_MessageHeader) + data_length); 193 hdr.size = htons (sizeof (struct GNUNET_MessageHeader) + data_length);
191 if ( (GNUNET_OK != 194 if ( (GNUNET_OK !=
@@ -338,7 +341,7 @@ extract_files (struct ScanTreeNode *item)
338 ssize_t size; 341 ssize_t size;
339 size_t slen; 342 size_t slen;
340 343
341 if (item->is_directory == GNUNET_YES) 344 if (GNUNET_YES == item->is_directory)
342 { 345 {
343 /* for directories, we simply only descent, no extraction, no 346 /* for directories, we simply only descent, no extraction, no
344 progress reporting */ 347 progress reporting */