Changeset 5780 in ntrip for trunk/BNC/src/PPP/pppThread.cpp


Ignore:
Timestamp:
Aug 4, 2014, 1:55:27 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5779 r5780  
    167167  }
    168168
    169   vector<t_pppSatObs*> satObs;
     169  vector<t_pppSatObs*> pppSatObs;
    170170  QListIterator<t_obs> it(obsList);
    171171  while (it.hasNext()) {
    172     const t_obs& obs = it.next();
     172    const t_obs& oldObs = it.next();
     173    t_pppSatObs* newObs = new t_pppSatObs;
     174
     175    pppSatObs.push_back(newObs);
    173176  }
    174177
    175178  t_output output;
    176   _pppClient->processEpoch(satObs, &output);
     179  _pppClient->processEpoch(pppSatObs, &output);
    177180
    178   for (unsigned ii = 0; ii < satObs.size(); ii++) {
    179     delete satObs[ii];
     181  for (unsigned ii = 0; ii < pppSatObs.size(); ii++) {
     182    delete pppSatObs[ii];
    180183  }
    181   satObs.clear();
     184  pppSatObs.clear();
    182185
    183186  emit newMessage(QByteArray(output._log.c_str()), true);
Note: See TracChangeset for help on using the changeset viewer.