Changeset 5468 in ntrip for trunk


Ignore:
Timestamp:
Sep 16, 2013, 4:57:17 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/rnxobsfile.cpp

    r5377 r5468  
    507507  // Re-Read Header
    508508  // --------------
    509   else if (flag == 3 || flag == 4) {
     509  else if (flag == 3 || flag == 4 || flag == 5) {
    510510    int numLines = 0;
    511511    if (version() < 3.0) {
     
    515515      readInt(line, 32, 3, numLines);
    516516    }
    517     _header.read(_stream, numLines);
    518     headerReRead = true;
     517    if (flag == 3 || flag == 4) {
     518      _header.read(_stream, numLines);
     519      headerReRead = true;
     520    }
     521    else {
     522      for (int ii = 0; ii < numLines; ii++) {
     523        _stream->readLine();
     524      }
     525    }
    519526  }
    520527
Note: See TracChangeset for help on using the changeset viewer.