Changeset 5658 in ntrip for trunk/rtcm3torinex/lib


Ignore:
Timestamp:
Apr 9, 2014, 3:28:20 PM (10 years ago)
Author:
stoecker
Message:

fix segfault

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/lib/rtcm3torinex.c

    r5595 r5658  
    24232423                for(pos = 0; pos < hdata.numheaders; ++pos)
    24242424                {
    2425                   if(!strcmp(hdata.data.unnamed[pos]+60, lastblockstart+60))
     2425                  if(hdata.data.unnamed[pos] &&
     2426                  !strcmp(hdata.data.unnamed[pos]+60, lastblockstart+60))
    24262427                    break;
    24272428                }
    24282429                if(!strcmp("# / TYPES OF OBSERV", lastblockstart+60)
     2430                || !strcmp("SYS / # / OBS TYPES", lastblockstart+60)
    24292431                || !strcmp("TIME OF FIRST OBS", lastblockstart+60))
    24302432                {
Note: See TracChangeset for help on using the changeset viewer.