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


Ignore:
Timestamp:
Aug 6, 2014, 11:51:11 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5810 r5813  
    7373    while (iOpt.hasNext()) {
    7474      const t_pppOptions* opt = iOpt.next();
    75       t_pppInclude.hread* pppInclude.hread = new t_pppInclude.hread(opt);
    76       pppInclude.hread->start();
    77       _pppInclude.hreads << pppInclude.hread;
     75      t_pppThread* pppThread = new t_pppThread(opt);
     76      pppThread->start();
     77      _pppThreads << pppThread;
    7878      _running = true;
    7979    }
     
    9292  }
    9393
    94   QListIterator<t_pppInclude.hread*> it(_pppInclude.hreads);
     94  QListIterator<t_pppThread*> it(_pppThreads);
    9595  while (it.hasNext()) {
    96     t_pppInclude.hread* pppInclude.hread = it.next();
    97     pppInclude.hread->exit();
    98   }
    99   _pppInclude.hreads.clear();
     96    t_pppThread* pppThread = it.next();
     97    pppThread->exit();
     98  }
     99  _pppThreads.clear();
    100100
    101101  QListIterator<t_pppOptions*> iOpt(_options);
Note: See TracChangeset for help on using the changeset viewer.