Changeset 1123 in ntrip
- Timestamp:
- Sep 20, 2008, 12:17:55 PM (16 years ago)
- Location:
- trunk/BNS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.cpp
r1102 r1123 76 76 77 77 QString mountpoint = settings.value(QString("mountpoint_%1").arg(ic)).toString(); 78 if (!mountpoint.isEmpty()) {79 QString outFileName = settings.value(QString("outFile_%1").arg(ic)).toString();78 QString outFileName = settings.value(QString("outFile_%1").arg(ic)).toString(); 79 if (!mountpoint.isEmpty() || !outFileName.isEmpty()) { 80 80 QString refSys = settings.value(QString("refSys_%1").arg(ic)).toString(); 81 81 … … 391 391 } 392 392 393 if ( _caster.at(ic)->used () &&393 if ( _caster.at(ic)->usedSocket() && 394 394 (co.NumberOfGPSSat > 0 || co.NumberOfGLONASSSat > 0) ) { 395 395 char obuffer[CLOCKORBIT_BUFFERSIZE]; -
trunk/BNS/bnscaster.cpp
r1067 r1123 69 69 //////////////////////////////////////////////////////////////////////////// 70 70 void t_bnscaster::open() { 71 72 if (_mountpoint.isEmpty()) { 73 return; 74 } 71 75 72 76 if (_outSocket != 0 && -
trunk/BNS/bnscaster.h
r1067 r1123 13 13 void write(char* buffer, unsigned len); 14 14 void printAscii(const QString& line); 15 bool used () const {return _outSocket || _outFile;}15 bool usedSocket() const {return _outSocket;} 16 16 bool crdTrafo() const {return _crdTrafo;} 17 17
Note:
See TracChangeset
for help on using the changeset viewer.