Changeset 7875 in ntrip for branches/BNC_2.12/src/RTCM3/RTCM3Decoder.cpp
- Timestamp:
- Apr 18, 2016, 3:29:28 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/RTCM3/RTCM3Decoder.cpp
r7873 r7875 1394 1394 { 1395 1395 char *antenna, type[256]; 1396 int antnum ;1396 int antnum = -1; 1397 1397 uint64_t numbits = 0, bitfield = 0; 1398 1398 … … 1402 1402 SKIPBITS(12) 1403 1403 GETSTRING(antnum, antenna) 1404 if (antnum < 265) {1404 if (antnum > -1 && antnum < 265) { 1405 1405 memcpy(type, antenna, antnum); 1406 1406 type[antnum] = 0; 1407 _antType.push_back(type); 1407 if (!_antType.contains(type)) { 1408 _antType.push_back(type); 1409 } 1408 1410 } 1409 1411 return true;
Note:
See TracChangeset
for help on using the changeset viewer.