updated to change how final part of transfer is tagged.
[feisty_meow.git] / nucleus / library / filesystem / heavy_file_ops.cpp
index 1e63ba318f846d5cb899c79f841a1fe31e7028cf..e8f48ebd5d20e585546ffe5a024250e27abd7499 100644 (file)
@@ -235,14 +235,12 @@ outcome heavy_file_operations::buffer_files(const astring &source_root,
     const filename_list &to_transfer, file_transfer_header &last_action,
     byte_array &storage, int maximum_bytes)
 {
-#ifdef DEBUG_HEAVY_FILE_OPS
-//  FUNCDEF("buffer_files");
-#endif
+  FUNCDEF("buffer_files");
   storage.reset();  // clear out the current contents.
 
   if (!to_transfer.elements()) {
     // we seem to be done.
-    return OKAY;
+    return FINISHED;
   }
 
   outcome to_return = OKAY;