Changeset 9559 in ntrip for trunk/BNC/src/bncgetthread.cpp


Ignore:
Timestamp:
Dec 1, 2021, 5:47:15 PM (2 years ago)
Author:
stuerze
Message:

update regarding PPP

File:
1 edited

Legend:

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

    r9555 r9559  
    141141  while (iSta.hasNext()) {
    142142    QStringList hlp = iSta.next().split(",");
    143     if (hlp.size() < 11) {
     143    if (hlp.size() < 10) {
    144144      continue;
    145145    }
    146146    QByteArray mp = hlp[0].toLatin1();
    147147    if (_staID == mp) {
    148       nmeaPort = hlp[10].toInt();
     148      nmeaPort = hlp[9].toInt();
    149149    }
    150150  }
     
    862862          QString msg;
    863863          QTextStream str(&msg);
    864           QString s;
    865           str << obs._prn.system() << "    "
    866               << s.sprintf("%2d", rnxTypes.size()) << "  ";
     864          str << obs._prn.system() << QString("    %1  ").arg(rnxTypes.size());
    867865          for (int iType = 0; iType < rnxTypes.size(); iType++) {
    868866            str << " " << rnxTypes[iType];
Note: See TracChangeset for help on using the changeset viewer.