Changeset 652 in ntrip
- Timestamp:
- Jan 4, 2008, 3:57:29 PM (17 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTIGS/RTIGSDecoder.cpp
r649 r652 94 94 // --------------------------- 95 95 if (_buffer.size() < numbytes) { 96 return failure;96 return success; 97 97 } 98 98 -
trunk/BNC/bncgetthread.cpp
r651 r652 399 399 if ( !_decodeFailure.isValid() || 400 400 _decodeFailure.secsTo(QDateTime::currentDateTime()) > 10 ) { 401 if ( _decoder->Decode(data, nBytes) != success ) { 401 if ( _decoder->Decode(data, nBytes) == success ) { 402 _decodeFailure.setDate(QDate()); 403 _decodeFailure.setTime(QTime()); 404 } 405 else { 402 406 _decodeFailure = QDateTime::currentDateTime(); 403 407 }
Note:
See TracChangeset
for help on using the changeset viewer.