Changeset 1315 in ntrip


Ignore:
Timestamp:
Dec 20, 2008, 2:06:36 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC/GPSS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/GPSS/gpssDecoder.cpp

    r1314 r1315  
    6060  if (_mode == MODE_SEARCH) {
    6161    _buffer.clear();
     62    _recordSize = 0;
    6263  }
    6364  _buffer.append(data, dataLen);
    64 
    65   EPOCHHEADER   epochHdr;
    6665
    6766  unsigned offset     = 0;
     
    109108          _mode = MODE_SEARCH;
    110109        } else {
     110          EPOCHHEADER epochHdr;
    111111          memcpy(&epochHdr, &_buffer[offset], sizeof(epochHdr));
    112112          offset += sizeof(epochHdr);
  • trunk/BNC/GPSS/gpssDecoder.h

    r1314 r1315  
    1414  gpssDecoder();
    1515  virtual ~gpssDecoder();
    16   virtual t_irc Decode(char* buffer, int bufLen, std::vector<std::string>& errmsg);
     16  virtual t_irc Decode(char* data, int dataLen, std::vector<std::string>& errmsg);
    1717
    1818 signals:
Note: See TracChangeset for help on using the changeset viewer.