Index: trunk/BNC/RTCM3/rtcm3torinex.c
===================================================================
--- trunk/BNC/RTCM3/rtcm3torinex.c	(revision 2260)
+++ trunk/BNC/RTCM3/rtcm3torinex.c	(revision 2261)
@@ -1,5 +1,5 @@
 /*
   Converter for RTCM3 data to RINEX.
-  $Id: rtcm3torinex.c,v 1.29 2010/01/16 10:18:44 mervart Exp $
+  $Id: rtcm3torinex.c,v 1.30 2010/01/16 10:21:09 mervart Exp $
   Copyright (C) 2005-2008 by Dirk Stöcker <stoecker@alberding.eu>
 
@@ -55,5 +55,5 @@
 
 /* CVS revision and version */
-static char revisionstr[] = "$Revision: 1.29 $";
+static char revisionstr[] = "$Revision: 1.30 $";
 
 #ifndef COMPILEDATE
@@ -640,6 +640,6 @@
         GETBITS(i,27) /* tk */
 
+        updatetime(&handle->GPSWeek, &handle->GPSTOW, i, 0); // Moscow -> GPS
         i = handle->GPSTOW*1000;
-        updatetime(&handle->GPSWeek, &handle->GPSTOW, i, 0); // Moscow -> GPS
         if(gnss->week && (gnss->timeofweek != i || gnss->week
         != handle->GPSWeek))
@@ -1684,5 +1684,5 @@
 
 #ifndef NO_RTCM3_MAIN
-static char datestr[]     = "$Date: 2010/01/16 10:18:44 $";
+static char datestr[]     = "$Date: 2010/01/16 10:21:09 $";
 
 /* The string, which is send as agent in HTTP request */
Index: trunk/BNS/RTCM/rtcm3torinex.c
===================================================================
--- trunk/BNS/RTCM/rtcm3torinex.c	(revision 2260)
+++ trunk/BNS/RTCM/rtcm3torinex.c	(revision 2261)
@@ -1,5 +1,5 @@
 /*
   Converter for RTCM3 data to RINEX.
-  $Id: rtcm3torinex.c,v 1.30 2010/01/16 10:21:09 mervart Exp $
+  $Id: rtcm3torinex.c,v 1.4 2010/01/16 10:22:15 mervart Exp $
   Copyright (C) 2005-2008 by Dirk Stöcker <stoecker@alberding.eu>
 
@@ -55,5 +55,5 @@
 
 /* CVS revision and version */
-static char revisionstr[] = "$Revision: 1.30 $";
+static char revisionstr[] = "$Revision: 1.4 $";
 
 #ifndef COMPILEDATE
@@ -640,6 +640,6 @@
         GETBITS(i,27) /* tk */
 
+        updatetime(&handle->GPSWeek, &handle->GPSTOW, i, 0); // Moscow -> GPS
         i = handle->GPSTOW*1000;
-        updatetime(&handle->GPSWeek, &handle->GPSTOW, i, 0); // Moscow -> GPS
         if(gnss->week && (gnss->timeofweek != i || gnss->week
         != handle->GPSWeek))
@@ -1684,5 +1684,5 @@
 
 #ifndef NO_RTCM3_MAIN
-static char datestr[]     = "$Date: 2010/01/16 10:21:09 $";
+static char datestr[]     = "$Date: 2010/01/16 10:22:15 $";
 
 /* The string, which is send as agent in HTTP request */
