Changeset 5200 in ntrip


Ignore:
Timestamp:
Jun 10, 2013, 10:51:14 AM (8 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncpppclient.cpp

    r5135 r5200  
    165165        for (int iFreq = 1; iFreq <= 2; iFreq++) {
    166166
    167           char rnxStr[3];
     167          char rnxStr[4]; rnxStr[3] = '\0';
    168168          double* p_value = 0;
    169169          if      (iPhase == 0 && iFreq == 1) {
     
    194194            *p_value = measdata;
    195195            if (rnxStr[0] == 'C' && bb) {
    196               char biasStr[2];
     196              char biasStr[3];
    197197              biasStr[0] = rnxStr[1];
    198198              biasStr[1] = rnxStr[2];
     199              biasStr[2] = '\0';
    199200              *p_value += bb->value(biasStr);
    200201            }
Note: See TracChangeset for help on using the changeset viewer.