Changeset 5937 in ntrip


Ignore:
Timestamp:
Aug 16, 2014, 8:12:19 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppRun.cpp

    r5936 r5937  
    237237  QMutexLocker locker(&_mutex);
    238238
    239   if (_opt->_corrMount.empty()) {
    240     return;
    241   }
    242 
    243239  // Check the Mountpoint (source of corrections)
    244240  // --------------------------------------------
    245   QMutableListIterator<QString> itm(corrList);
    246   while (itm.hasNext()) {
    247     QStringList hlp = itm.next().split(" ");
    248     if (hlp.size() > 0) {
    249       QString mountpoint = hlp[hlp.size()-1];
    250       if (mountpoint != QString(_opt->_corrMount.c_str())) {
    251         itm.remove();     
     241  if (_opt->_realTime) {
     242    if (_opt->_corrMount.empty()) {
     243      return;
     244    }
     245    QMutableListIterator<QString> itm(corrList);
     246    while (itm.hasNext()) {
     247      QStringList hlp = itm.next().split(" ");
     248      if (hlp.size() > 0) {
     249        QString mountpoint = hlp[hlp.size()-1];
     250        if (mountpoint != QString(_opt->_corrMount.c_str())) {
     251          itm.remove();     
     252        }
    252253      }
    253254    }
Note: See TracChangeset for help on using the changeset viewer.