Index: /branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp
===================================================================
--- /branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp	(revision 8578)
+++ /branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp	(revision 8579)
@@ -223,6 +223,6 @@
     return;
   }
-  int iEpoBegEarlier = _rtnetStreamBuffer.indexOf('*');
-  if (iEpoBegEarlier != -1 && iEpoBegEarlier < iEpoBeg) { // are there two epoch lines in buffer?
+  int iEpoBegEarlier = _rtnetStreamBuffer.indexOf('*'); // begin of first epoch 
+  if (iEpoBegEarlier != -1 && iEpoBegEarlier < iEpoBeg) { // are there more epoch lines in buffer?
     _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoBegEarlier);
   }
@@ -231,11 +231,10 @@
   }
 
-  int iEpoEnd = _rtnetStreamBuffer.lastIndexOf("EOE"); // end   of last epoch
+  int iEpoEnd = _rtnetStreamBuffer.indexOf("EOE"); // end of first epoch
   if (iEpoEnd == -1) {
     return;
   }
   else {
-    lines = _rtnetStreamBuffer.left(iEpoEnd).split('\n',
-        QString::SkipEmptyParts);
+    lines = _rtnetStreamBuffer.left(iEpoEnd).split('\n', QString::SkipEmptyParts);
     _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoEnd + 3);
   }
