Index: /trunk/BNC/RTCM/GPSDecoder.h
===================================================================
--- /trunk/BNC/RTCM/GPSDecoder.h	(revision 247)
+++ /trunk/BNC/RTCM/GPSDecoder.h	(revision 248)
@@ -2,6 +2,4 @@
 #ifndef GPSDECODER_H
 #define GPSDECODER_H
-
-#include <QMutexLocker>
 
 #include <list>
@@ -42,6 +40,4 @@
     virtual ~GPSDecoder() {}
     std::list<Observation*> _obsList;
-  protected:
-    QMutex _mutex;
 };
 
Index: /trunk/BNC/RTCM/RTCM2.cpp
===================================================================
--- /trunk/BNC/RTCM/RTCM2.cpp	(revision 247)
+++ /trunk/BNC/RTCM/RTCM2.cpp	(revision 248)
@@ -283,5 +283,5 @@
   while (!isHeader() || i<5 ) {
     // Check if string is long enough; if not restore old word and exit
-    if (buf.size() == 0 || buf.size()-1<i) {
+    if (buf.size()<i+1) {
       W = W_old;
       failure = true;
Index: /trunk/BNC/RTCM/RTCM2Decoder.cpp
===================================================================
--- /trunk/BNC/RTCM/RTCM2Decoder.cpp	(revision 247)
+++ /trunk/BNC/RTCM/RTCM2Decoder.cpp	(revision 248)
@@ -4,6 +4,4 @@
 // 
 //------------------------------------------------------------------------------
-
-#include <QMutexLocker>
 
 #include "../bncutils.h"
@@ -34,6 +32,4 @@
 
 void RTCM2Decoder::Decode(char* buffer, int bufLen) {
-
-  QMutexLocker locker(&_mutex);
 
   _buffer.append(buffer, bufLen);
Index: /trunk/BNC/RTCM3/rtcm3.cpp
===================================================================
--- /trunk/BNC/RTCM3/rtcm3.cpp	(revision 247)
+++ /trunk/BNC/RTCM3/rtcm3.cpp	(revision 248)
@@ -31,5 +31,4 @@
 ////////////////////////////////////////////////////////////////////////////
 rtcm3::rtcm3() : GPSDecoder() {
-  QMutexLocker locker(&_mutex);
   memset(&_Parser, 0, sizeof(_Parser));
   time_t tim;
@@ -47,5 +46,4 @@
 ////////////////////////////////////////////////////////////////////////////
 void rtcm3::Decode(char* buffer, int bufLen) {
-  QMutexLocker locker(&_mutex);
   for (int ii = 0; ii < bufLen; ii++) {
 
Index: /trunk/BNC/RTIGS/rtigs.cpp
===================================================================
--- /trunk/BNC/RTIGS/rtigs.cpp	(revision 247)
+++ /trunk/BNC/RTIGS/rtigs.cpp	(revision 248)
@@ -37,6 +37,4 @@
 ////////////////////////////////////////////////////////////////////////////
 void rtigs::Decode(char* buffer, int bufLen) {
-
-  QMutexLocker locker(&_mutex);
 
   // Append the incomming data to the internal buffer
