Changeset 5905 in ntrip for trunk/BNC/src/bncmain.cpp


Ignore:
Timestamp:
Aug 9, 2014, 11:45:37 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5900 r5905  
    189189    BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION " =========", true);
    190190
    191     // PPP Client(s) (in separate threads)
    192     // -----------------------------------   
    193     BNC_CORE->startPPP();
    194 
    195191    // Normal case - data from Internet
    196192    // --------------------------------
    197193    if ( rawFileName.isEmpty() ) {
    198194      BNC_CORE->setMode(t_bncCore::nonInteractive);
     195      BNC_CORE->startPPP(true);
     196
    199197      caster->readMountPoints();
    200198      if (caster->numStations() == 0) {
     
    207205    else {
    208206      BNC_CORE->setMode(t_bncCore::batchPostProcessing);
    209       bncRawFile*   rawFile   = new bncRawFile(rawFileName, "",
    210                                                bncRawFile::input);
     207      BNC_CORE->startPPP(false);
     208
     209      bncRawFile*   rawFile   = new bncRawFile(rawFileName, "", bncRawFile::input);
    211210      bncGetThread* getThread = new bncGetThread(rawFile);
    212211      caster->addGetThread(getThread, true);
Note: See TracChangeset for help on using the changeset viewer.