aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fs/gnunet-helper-fs-publish.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/fs/gnunet-helper-fs-publish.c b/src/fs/gnunet-helper-fs-publish.c
index 46460248d..9594c19c2 100644
--- a/src/fs/gnunet-helper-fs-publish.c
+++ b/src/fs/gnunet-helper-fs-publish.c
@@ -308,15 +308,14 @@ preprocess_file (const char *filename,
308 GNUNET_DISK_directory_scan (filename, 308 GNUNET_DISK_directory_scan (filename,
309 &scan_callback, 309 &scan_callback,
310 &rc); 310 &rc);
311 if (rc.stop == GNUNET_YES) 311 if ( (rc.stop == GNUNET_YES) ||
312 (GNUNET_OK !=
313 write_message (GNUNET_MESSAGE_TYPE_FS_PUBLISH_HELPER_PROGRESS_DIRECTORY,
314 "..", 3)) )
312 { 315 {
313 free_tree (item); 316 free_tree (item);
314 return GNUNET_SYSERR; 317 return GNUNET_SYSERR;
315 } 318 }
316 if (GNUNET_OK !=
317 write_message (GNUNET_MESSAGE_TYPE_FS_PUBLISH_HELPER_PROGRESS_DIRECTORY,
318 "..", 3))
319 return GNUNET_SYSERR;
320 } 319 }
321 *dst = item; 320 *dst = item;
322 return GNUNET_OK; 321 return GNUNET_OK;