Changeset 4442 in ntrip for trunk


Ignore:
Timestamp:
Jul 24, 2012, 6:25:30 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM/GPSDecoder.cpp

    r4441 r4442  
    140140    case GNSSENTRY_SNR:     str[0] = 'S'; break;
    141141  }
    142   str[1] = _codetype[iEntry][0];
    143   str[2] = _codetype[iEntry][1];
    144   return str;
     142  if (_codetype[iEntry]) {
     143    str[1] = _codetype[iEntry][0];
     144    str[2] = _codetype[iEntry][1];
     145  }
     146  return str.trimmed();
    145147}
Note: See TracChangeset for help on using the changeset viewer.