Browse Source

*** empty log message ***

Mike Goslin 25 years ago
parent
commit
d143358212
2 changed files with 2 additions and 1 deletions
  1. 1 0
      panda/src/downloader/downloader.cxx
  2. 1 1
      panda/src/downloader/extractor.cxx

+ 1 - 0
panda/src/downloader/downloader.cxx

@@ -423,6 +423,7 @@ run(void) {
         if (write_to_disk(_current_status) == false)
           return DS_error_write;
       }
+      _dest_stream.close();
       return DS_success;
     } else {
       if (downloader_cat.is_debug())

+ 1 - 1
panda/src/downloader/extractor.cxx

@@ -109,7 +109,7 @@ run(void) {
   // Write to the out file
   char *start = _buffer->_buffer;
   int size = _source_buffer_length; 
-  if (_mfile.write_extract(start, size, _rel_path) == true) {
+  if (_mfile.write(start, size, _rel_path) == true) {
     _read_stream.close();
     _source_file.unlink();
     return ES_success;