diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-05 15:50:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-05 15:50:43 +0000 |
commit | ac441ba79538344b252e07444e4059f084610d17 (patch) | |
tree | 36653a204c14bd7fa8d69febae21131763cc0f14 /src/fs/fs_dirmetascan.c | |
parent | eb355f3b7bebbd5771c1332d49281d37f214044f (diff) | |
download | gnunet-ac441ba79538344b252e07444e4059f084610d17.tar.gz gnunet-ac441ba79538344b252e07444e4059f084610d17.zip |
-ignore
Diffstat (limited to 'src/fs/fs_dirmetascan.c')
-rw-r--r-- | src/fs/fs_dirmetascan.c | 5 |
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: |