Changeset 5946 in ntrip for trunk/BNC/src/PPP/pppMain.cpp


Ignore:
Timestamp:
Aug 16, 2014, 1:45:47 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppMain.cpp

    r5944 r5946  
    6363//
    6464//////////////////////////////////////////////////////////////////////////////
    65 void t_pppMain::start(bool ownThread) {
     65void t_pppMain::start() {
    6666  if (_running) {
    6767    return;
     
    7474    while (iOpt.hasNext()) {
    7575      const t_pppOptions* opt = iOpt.next();
    76       t_pppThread* pppThread = new t_pppThread(ownThread, opt);
    77       if (ownThread) {
    78         pppThread->start();
    79       }
    80       else {
    81         pppThread->run();
    82       }
     76      t_pppThread* pppThread = new t_pppThread(opt);
     77      pppThread->start();
    8378      _pppThreads << pppThread;
    8479      _running = true;
     
    9489//////////////////////////////////////////////////////////////////////////////
    9590void t_pppMain::stop() {
    96 
    97   cout << "t_pppMain::stop" << endl;
    9891
    9992  if (!_running) {
Note: See TracChangeset for help on using the changeset viewer.