Changeset 1123 in ntrip


Ignore:
Timestamp:
Sep 20, 2008, 12:17:55 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r1102 r1123  
    7676
    7777    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()) {
    8080      QString refSys      = settings.value(QString("refSys_%1").arg(ic)).toString();
    8181
     
    391391        }
    392392     
    393         if ( _caster.at(ic)->used() &&
     393        if ( _caster.at(ic)->usedSocket() &&
    394394             (co.NumberOfGPSSat > 0 || co.NumberOfGLONASSSat > 0) ) {
    395395          char obuffer[CLOCKORBIT_BUFFERSIZE];
  • trunk/BNS/bnscaster.cpp

    r1067 r1123  
    6969////////////////////////////////////////////////////////////////////////////
    7070void t_bnscaster::open() {
     71
     72  if (_mountpoint.isEmpty()) {
     73    return;
     74  }
    7175
    7276  if (_outSocket != 0 &&
  • trunk/BNS/bnscaster.h

    r1067 r1123  
    1313  void write(char* buffer, unsigned len);
    1414  void printAscii(const QString& line);
    15   bool used() const {return _outSocket || _outFile;}
     15  bool usedSocket() const {return _outSocket;}
    1616  bool crdTrafo() const {return _crdTrafo;}
    1717
Note: See TracChangeset for help on using the changeset viewer.