Changeset 9211 in ntrip for trunk/BNC/src/bncgetthread.cpp


Ignore:
Timestamp:
Nov 4, 2020, 3:27:02 PM (9 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r9191 r9211  
    317317t_irc bncGetThread::initDecoder() {
    318318
     319
     320
    319321  _decoder = 0;
    320322
    321   if (_format.indexOf("RTCM_2") != -1 || _format.indexOf("RTCM2") != -1
    322       || _format.indexOf("RTCM 2") != -1) {
     323  if (_format.indexOf("RTCM_2") != -1 ||
     324      _format.indexOf("RTCM2")  != -1 ||
     325      _format.indexOf("RTCM 2") != -1) {
    323326    emit(newMessage(_staID + ": Get data in RTCM 2.x format", true));
    324327    _decoder = new RTCM2Decoder(_staID.data());
    325   } else if (_format.indexOf("RTCM_3") != -1 || _format.indexOf("RTCM3") != -1
    326       || _format.indexOf("RTCM 3") != -1) {
     328  } else if (_format.indexOf("RTCM_3") != -1 ||
     329      _format.indexOf("RTCM3")  != -1 ||
     330      _format.indexOf("RTCM 3") != -1) {
    327331    emit(newMessage(_staID + ": Get data in RTCM 3.x format", true));
    328332    RTCM3Decoder* newDecoder = new RTCM3Decoder(_staID, _rawFile);
Note: See TracChangeset for help on using the changeset viewer.