aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_publish_persistence.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_publish_persistence.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_publish_persistence.c')
-rw-r--r--src/fs/test_fs_publish_persistence.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/test_fs_publish_persistence.c b/src/fs/test_fs_publish_persistence.c
index 5beb1b7e5..8e5e5f53b 100644
--- a/src/fs/test_fs_publish_persistence.c
+++ b/src/fs/test_fs_publish_persistence.c
@@ -145,6 +145,9 @@ progress_cb (void *cls,
145 (0 == strcmp ("publish-context-dir", event->value.publish.cctx)) ) 145 (0 == strcmp ("publish-context-dir", event->value.publish.cctx)) )
146 GNUNET_SCHEDULER_add_now (&abort_publish_task, NULL); 146 GNUNET_SCHEDULER_add_now (&abort_publish_task, NULL);
147 break; 147 break;
148 case GNUNET_FS_STATUS_PUBLISH_PROGRESS_DIRECTORY:
149 ret = event->value.publish.cctx;
150 return ret;
148 case GNUNET_FS_STATUS_PUBLISH_PROGRESS: 151 case GNUNET_FS_STATUS_PUBLISH_PROGRESS:
149 consider_restart (event->status); 152 consider_restart (event->status);
150 ret = event->value.publish.cctx; 153 ret = event->value.publish.cctx;