Changeset 9488 in ntrip


Ignore:
Timestamp:
Aug 3, 2021, 12:10:45 PM (3 years ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src
Files:
2 edited

Legend:

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

    r9430 r9488  
    157157  }
    158158
    159   if ( (ephOld == 0) || newEph->isNewerThan(ephOld)) {
    160     checkEphemeris(newEph, realTime);
    161     eph->setCheckState(newEph->checkState());
     159  if ( (ephOld == 0) || eph->isNewerThan(ephOld)) {
     160    checkEphemeris(eph, realTime);
    162161  }
    163162  else {
     
    166165  }
    167166
    168   if (newEph->checkState() != t_eph::bad &&
    169       newEph->checkState() != t_eph::outdated) {
     167  if (eph->checkState() != t_eph::bad &&
     168      eph->checkState() != t_eph::outdated) {
    170169    deque<t_eph*>& qq = _eph[prn];
     170    newEph->setCheckState(eph->checkState());
    171171    qq.push_back(newEph);
    172172    if (qq.size() > _maxQueueSize) {
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r9387 r9488  
    473473      }
    474474    }
     475
    475476    if (eph &&
    476477        !outDatedBcep(eph)                    &&  // detected from storage because of no update
Note: See TracChangeset for help on using the changeset viewer.