Index: trunk/BNC/bncgetthread.cpp
===================================================================
--- trunk/BNC/bncgetthread.cpp	(revision 650)
+++ trunk/BNC/bncgetthread.cpp	(revision 651)
@@ -399,5 +399,5 @@
         if ( !_decodeFailure.isValid() || 
              _decodeFailure.secsTo(QDateTime::currentDateTime()) > 10 ) {
-          if ( !_decoder->Decode(data, nBytes) == success ) {
+          if ( _decoder->Decode(data, nBytes) != success ) {
             _decodeFailure = QDateTime::currentDateTime();
           }
Index: trunk/BNC/bncgetthread.h
===================================================================
--- trunk/BNC/bncgetthread.h	(revision 650)
+++ trunk/BNC/bncgetthread.h	(revision 651)
@@ -28,4 +28,5 @@
 #include <QThread>
 #include <QtNetwork>
+#include <QDateTime>
 
 #include "RTCM/GPSDecoder.h"
@@ -78,4 +79,5 @@
    int         _samplingRate;
    bncRinex*   _rnx;
+   QDateTime   _decodeFailure;
 };
 
