Changeset 11179 in ntrip for trunk/BNC/src/bncsinextro.cpp


Ignore:
Timestamp:
Nov 6, 2026, 4:05:20 PM (7 hours ago)
Author:
stuerze
Message:

structuered logging is added and bug is fixed in SP3 file writing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncsinextro.cpp

    r10791 r11179  
    256256////////////////////////////////////////////////////////////////////////////
    257257void bncSinexTro::closeFile() {
    258   _out << "-TROP/SOLUTION" << endl;
    259   _out << "%=ENDTROP" << endl;
     258  if (_out.is_open()) {
     259    _out << "-TROP/SOLUTION" << endl;
     260    _out << "%=ENDTROP" << endl;
     261  }
    260262  bncoutf::closeFile();
    261263}
Note: See TracChangeset for help on using the changeset viewer.