Changeset 3259 in ntrip


Ignore:
Timestamp:
Apr 3, 2011, 2:47:18 PM (14 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/upload/bncephuploadcaster.cpp

    r3258 r3259  
    5858void bncEphUploadCaster::ephBufferChanged() {
    5959  if (_ephUploadCaster) {
     60    QByteArray outBuffer;
    6061    QMapIterator<QString, t_ephPair*> it(_eph);
    6162    while (it.hasNext()) {
    6263      it.next();
    63       QByteArray outBuffer;
    6464
    6565      t_eph* eph = it.value()->last;
     
    6969        outBuffer += QByteArray((char*) Array, size);
    7070      }
    71    
    72       if (outBuffer.size() > 0) {
    73         _ephUploadCaster->setOutBuffer(outBuffer);
    74       }
     71    }
     72    if (outBuffer.size() > 0) {
     73      _ephUploadCaster->setOutBuffer(outBuffer);
    7574    }
    7675  }
Note: See TracChangeset for help on using the changeset viewer.