Changeset 1127 in ntrip for trunk/BNC/RTCM3/RTCM3Decoder.cpp


Ignore:
Timestamp:
Sep 20, 2008, 3:10:51 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM3/RTCM3Decoder.cpp

    r1126 r1127  
    215215  // ---------------------------------------
    216216  if (_mode == unknown || _mode == observations || _checkMountPoint == _staID || _checkMountPoint == "ALL") {
     217
    217218    for (int ii = 0; ii < bufLen; ii++) {
    218    
    219219      _Parser.Message[_Parser.MessageSize++] = buffer[ii];
     220
    220221      if (_Parser.MessageSize >= _Parser.NeedBytes) {
    221222   
    222223        // RTCM message types
    223224        // ------------------
    224           for (int kk = 0; kk < _Parser.typeSize; kk++) {
    225             _typeList.push_back(_Parser.typeList[kk]);
    226           }
    227           _Parser.typeSize = 0;
     225        for (int kk = 0; kk < _Parser.typeSize; kk++) {
     226          _typeList.push_back(_Parser.typeList[kk]);
     227        }
     228        _Parser.typeSize = 0;
    228229   
    229230        while(int rr = RTCM3Parser(&_Parser)) {
     
    232233          // -----------------
    233234          if (rr == 1 || rr == 2) {
    234                   decoded = true;
     235            decoded = true;
    235236   
    236237            if (!_Parser.init) {
Note: See TracChangeset for help on using the changeset viewer.