Index: /trunk/BNC/RTCM/RTCM2Decoder.cpp
===================================================================
--- /trunk/BNC/RTCM/RTCM2Decoder.cpp	(revision 701)
+++ /trunk/BNC/RTCM/RTCM2Decoder.cpp	(revision 702)
@@ -68,9 +68,14 @@
   double refSecs;
   currentGPSWeeks(refWeek, refSecs);
+  bool decoded = false;
 
   while(true) {
     _PP.getPacket(_buffer);
     if (!_PP.valid()) {
-      return failure;
+      if (decoded) {
+        return success;
+      } else {
+        return failure;
+      }
     }
 
@@ -80,4 +85,5 @@
 
       if (_ObsBlock.valid()) {
+        decoded = true;
 
         int    epochWeek;
@@ -105,5 +111,4 @@
         }
         _ObsBlock.clear();
-        return success;
       }
     }
