Index: /trunk/rtcm3torinex/lib/rtcm3torinex.c
===================================================================
--- /trunk/rtcm3torinex/lib/rtcm3torinex.c	(revision 2659)
+++ /trunk/rtcm3torinex/lib/rtcm3torinex.c	(revision 2660)
@@ -691,5 +691,6 @@
           GETBITS(freq, 5)
 
-          gnss->channels[num] = freq - 7;
+          if(sv >= 1 && sv <= PRN_GLONASS_NUM)
+            handle->GLOFreq[sv-1] = 100+freq-7;
 
           if(code)
Index: /trunk/rtcm3torinex/lib/rtcm3torinex.h
===================================================================
--- /trunk/rtcm3torinex/lib/rtcm3torinex.h	(revision 2659)
+++ /trunk/rtcm3torinex/lib/rtcm3torinex.h	(revision 2660)
@@ -213,5 +213,4 @@
   unsigned int dataflags2[GNSS_MAXSATS];     /* GNSSDF2_xxx */
   int    satellites[GNSS_MAXSATS];     /* SV - IDs */
-  int    channels[GNSS_MAXSATS];       /* Glonass channels - valid of Glonass SV only */
   int    snrL1[GNSS_MAXSATS];          /* Important: all the 5 SV-specific fields must */
   int    snrL2[GNSS_MAXSATS];          /* have the same SV-order */
