Index: trunk/BNC/src/upload/bncephuploadcaster.cpp
===================================================================
--- trunk/BNC/src/upload/bncephuploadcaster.cpp	(revision 8903)
+++ trunk/BNC/src/upload/bncephuploadcaster.cpp	(revision 8904)
@@ -91,12 +91,10 @@
         int size = 0;
 
-        if (ephGPS && ephGPS->type() == t_eph::GPS &&
-            (system == "ALL" || system == "GPS")) {
+        if      (ephGPS && ephGPS->type() == t_eph::GPS  &&  (system == "ALL" || system == "GPS")) {
           if (timeDiff <= 4*3600) {
             size = t_ephEncoder::RTCM3(*ephGPS, Array);
           }
         }
-        else if (ephGPS && ephGPS->type() == t_eph::QZSS &&
-            (system == "ALL" || system == "QZSS")) {
+        else if (ephGPS && ephGPS->type() == t_eph::QZSS && (system == "ALL" || system == "QZSS")) {
           if (timeDiff <= 4*3600) {
             size = t_ephEncoder::RTCM3(*ephGPS, Array);
@@ -109,10 +107,10 @@
         }
         else if (ephGal && (system == "ALL" || system == "Galileo")) {
-          if (timeDiff <= 4*3600) {
+          if (timeDiff <= 2*3600) {
             size = t_ephEncoder::RTCM3(*ephGal, Array);
           }
         }
         else if (ephSBAS && (system == "ALL" || system == "SBAS")) {
-          if (timeDiff <= 600) {
+          if (timeDiff <= 1*3600) {
             size = t_ephEncoder::RTCM3(*ephSBAS, Array);
           }
@@ -121,4 +119,9 @@
           if (timeDiff <= 6*3600) {
             size = t_ephEncoder::RTCM3(*ephBDS, Array);
+          }
+        }
+        else if (ephGPS && ephGPS->type() == t_eph::IRNSS && (system == "ALL" || system == "IRNSS")) {
+          if (timeDiff <= 24*3600) {
+            size = t_ephEncoder::RTCM3(*ephGPS, Array);
           }
         }
Index: trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
===================================================================
--- trunk/BNC/src/upload/bncrtnetuploadcaster.cpp	(revision 8903)
+++ trunk/BNC/src/upload/bncrtnetuploadcaster.cpp	(revision 8904)
@@ -270,5 +270,5 @@
   }
 
-  lines = _rtnetStreamBuffer.left(iEpoEnd).split('\n', 
+  lines = _rtnetStreamBuffer.left(iEpoEnd).split('\n',
       QString::SkipEmptyParts);
   _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoEnd + 3);
@@ -1926,5 +1926,5 @@
               phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;
               phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;
-            }            
+            }
             else if (pbSig.type == "2S") {
               int ii = phasebiasSat->NumberOfPhaseBiases;
@@ -2601,5 +2601,5 @@
   // Clock correction proportional to topocentric distance to satellites
   // -------------------------------------------------------------------
-  double rho = (xyz - meanSta).norm_Frobenius();
+  double rho = (xyz - meanSta).NormFrobenius();
   dc = rho * (sc - 1.0) / sc / t_CST::c;
 
Index: trunk/BNC/src/upload/bncuploadcaster.cpp
===================================================================
--- trunk/BNC/src/upload/bncuploadcaster.cpp	(revision 8903)
+++ trunk/BNC/src/upload/bncuploadcaster.cpp	(revision 8904)
@@ -143,5 +143,5 @@
 
   _outSocket = new QTcpSocket();
-  _outSocket->setProxy(QNetworkProxy::NoProxy); // Ntrip1: to prevet the usage of system entries
+  _outSocket->setProxy(QNetworkProxy::NoProxy); // Ntrip1: to prevent the usage of system entries
   _outSocket->connectToHost(_outHost, _outPort);
 
