Changeset 7208 in ntrip for trunk/BNC/src/bnccore.cpp


Ignore:
Timestamp:
Aug 17, 2015, 2:34:40 PM (9 years ago)
Author:
stuerze
Message:

minor changes to decide between erroneous and outdated ephemerides during the ephemeris check

File:
1 edited

Legend:

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

    r7179 r7208  
    208208  QMutexLocker locker(&_mutex);
    209209  t_irc ircPut = _ephUser.putNewEph(eph, true);
    210   if (eph->checkState() == t_eph::bad) {
     210  if      (eph->checkState() == t_eph::bad) {
    211211    messagePrivate("WRONG EPHEMERIS\n" + eph->toString(3.0).toAscii());
     212    return failure;
     213  }
     214  else if (eph->checkState() == t_eph::outdated) {
     215    messagePrivate("OUTDATED EPHEMERIS\n" + eph->toString(3.0).toAscii());
    212216    return failure;
    213217  }
Note: See TracChangeset for help on using the changeset viewer.