- Timestamp:
- Jan 1, 2013, 11:08:58 AM (12 years ago)
- Location:
- trunk/BNC/src/upload
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r4803 r4808 243 243 in >> hlp >> year >> month >> day >> hour >> min >> sec; 244 244 bncTime epoTime; epoTime.set( year, month, day, hour, min, sec); 245 246 emit(newMessage("decodeRtnetStream: " + lines[0].toAscii(), false)); 245 247 246 248 struct ClockOrbit co; … … 477 479 } 478 480 479 if (hlpBufferCo.size() > 0) { 480 _outBuffer = hlpBufferCo + hlpBufferBias; 481 } 481 _outBuffer += hlpBufferCo + hlpBufferBias; 482 482 } 483 483 -
trunk/BNC/src/upload/bncuploadcaster.cpp
r3273 r4808 85 85 if (_outSocket && _outSocket->state() == QAbstractSocket::ConnectedState) { 86 86 QMutexLocker locker(&_mutex); 87 _outSocket->write(_outBuffer); 88 _outSocket->flush(); 89 emit newBytes(_mountpoint.toAscii(), _outBuffer.size()); 87 if (_outBuffer.size() > 0) { 88 _outSocket->write(_outBuffer); 89 _outSocket->flush(); 90 emit newBytes(_mountpoint.toAscii(), _outBuffer.size()); 91 _outBuffer.clear(); 92 } 90 93 } 91 94 sleep(_rate);
Note:
See TracChangeset
for help on using the changeset viewer.