replaced dump_file with dump_ostream

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/ErrorHandling@5867 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
Scott R Charlton 2011-12-06 07:30:12 +00:00
parent 35a97c6467
commit f7abe02b44

View File

@ -1033,12 +1033,13 @@ int IPhreeqc::close_output_files(void)
ret |= fclose(this->log_file);
if (this->punch_file != NULL)
ret |= fclose(this->punch_file);
if (this->dump_file != NULL)
ret |= fclose(this->dump_file);
if (this->dump_ostream != NULL)
delete this->dump_ostream;
if (this->error_file != NULL)
ret |= fclose(this->error_file);
this->error_file = NULL;
this->output_file = this->log_file = this->punch_file = this->dump_file = NULL;
this->output_file = this->log_file = this->punch_file = NULL;
this->dump_ostream = NULL;
return ret;
}