aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_list_indexed.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-11 14:50:07 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-11 14:50:07 +0000
commitcd67a970afe36e8a2aa99e48cbe103cc4cc26424 (patch)
tree67e5023676f2278485e35a2b71ce246b9933f406 /src/fs/test_fs_list_indexed.c
parent3dd666cbad61490c0de1cb891fd1b36c8536c348 (diff)
downloadgnunet-cd67a970afe36e8a2aa99e48cbe103cc4cc26424.tar.gz
gnunet-cd67a970afe36e8a2aa99e48cbe103cc4cc26424.zip
generate progress events when publishing directories (towards fixing #2230)
Diffstat (limited to 'src/fs/test_fs_list_indexed.c')
-rw-r--r--src/fs/test_fs_list_indexed.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/test_fs_list_indexed.c b/src/fs/test_fs_list_indexed.c
index b505e8a18..e359bd8ed 100644
--- a/src/fs/test_fs_list_indexed.c
+++ b/src/fs/test_fs_list_indexed.c
@@ -115,6 +115,9 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *event)
115 (unsigned long long) event->value.publish.specifics. 115 (unsigned long long) event->value.publish.specifics.
116 progress.offset); 116 progress.offset);
117 break; 117 break;
118 case GNUNET_FS_STATUS_PUBLISH_PROGRESS_DIRECTORY:
119 ret = event->value.publish.cctx;
120 break;
118 case GNUNET_FS_STATUS_PUBLISH_ERROR: 121 case GNUNET_FS_STATUS_PUBLISH_ERROR:
119 ret = event->value.publish.cctx; 122 ret = event->value.publish.cctx;
120 FPRINTF (stderr, "Error publishing file: %s\n", 123 FPRINTF (stderr, "Error publishing file: %s\n",