Changeset 2525 in ntrip


Ignore:
Timestamp:
Aug 3, 2010, 1:39:22 PM (14 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r2523 r2525  
    391391        if (data.isEmpty()) {
    392392          cout << "no more data" << endl;
    393           ::exit(0);
     393          QThread::exit(0);
     394          this->deleteLater();
     395          return;
    394396        }
    395397      }
  • trunk/BNC/bncrawfile.cpp

    r2524 r2525  
    8585////////////////////////////////////////////////////////////////////////////
    8686bncRawFile::~bncRawFile() {
    87 
     87  delete _inpFile;
     88  delete _outFile;
    8889}
    8990
     
    116117    int        nBytes         = lst.value(2).toInt();
    117118
    118     cout << line.toAscii().data() << endl;
    119 
    120119    data = _inpFile->read(nBytes);
    121120
    122     _inpFile->read(1);
     121    _inpFile->read(1); // read '\n' character
    123122  }
    124123
Note: See TracChangeset for help on using the changeset viewer.