aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_dirmetascan.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/fs_dirmetascan.c
parenteb355f3b7bebbd5771c1332d49281d37f214044f (diff)
downloadgnunet-ac441ba79538344b252e07444e4059f084610d17.tar.gz
gnunet-ac441ba79538344b252e07444e4059f084610d17.zip
-ignore
Diffstat (limited to 'src/fs/fs_dirmetascan.c')
-rw-r--r--src/fs/fs_dirmetascan.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fs/fs_dirmetascan.c b/src/fs/fs_dirmetascan.c
index 4e5354e80..5001b6a14 100644
--- a/src/fs/fs_dirmetascan.c
+++ b/src/fs/fs_dirmetascan.c
@@ -257,6 +257,9 @@ process_helper_msgs (void *cls,
257 const char *filename; 257 const char *filename;
258 size_t left; 258 size_t left;
259 259
260 fprintf (stderr, "DMS parses %u-byte message of type %u\n",
261 (unsigned int) ntohs (msg->size),
262 (unsigned int) ntohs (msg->type));
260 left = ntohs (msg->size) - sizeof (struct GNUNET_MessageHeader); 263 left = ntohs (msg->size) - sizeof (struct GNUNET_MessageHeader);
261 filename = (const char*) &msg[1]; 264 filename = (const char*) &msg[1];
262 switch (ntohs (msg->type)) 265 switch (ntohs (msg->type))
@@ -325,7 +328,7 @@ process_helper_msgs (void *cls,
325 NULL, GNUNET_SYSERR, 328 NULL, GNUNET_SYSERR,
326 GNUNET_FS_DIRSCANNER_ALL_COUNTED); 329 GNUNET_FS_DIRSCANNER_ALL_COUNTED);
327 ds->pos = ds->toplevel; 330 ds->pos = ds->toplevel;
328 if (ds->pos->is_directory == GNUNET_YES) 331 if (GNUNET_YES == ds->pos->is_directory)
329 ds->pos = advance (ds->pos); 332 ds->pos = advance (ds->pos);
330 return; 333 return;
331 case GNUNET_MESSAGE_TYPE_FS_PUBLISH_HELPER_META_DATA: 334 case GNUNET_MESSAGE_TYPE_FS_PUBLISH_HELPER_META_DATA: