Changeset 1824 in ntrip for trunk


Ignore:
Timestamp:
May 4, 2009, 11:39:10 AM (16 years ago)
Author:
stoecker
Message:

fixed leap error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/rtcm3torinex.c

    r1270 r1824  
    11/*
    22  Converter for RTCM3 data to RINEX.
    3   $Id: rtcm3torinex.c,v 1.35 2008/12/02 15:50:20 stoecker Exp $
     3  $Id: rtcm3torinex.c,v 1.36 2008/12/03 08:33:16 stoecker Exp $
    44  Copyright (C) 2005-2008 by Dirk Stöcker <stoecker@alberding.eu>
    55
     
    5151
    5252/* CVS revision and version */
    53 static char revisionstr[] = "$Revision: 1.35 $";
     53static char revisionstr[] = "$Revision: 1.36 $";
    5454
    5555#ifndef COMPILEDATE
     
    241241  for(l = leap; l->taicount && year >= l->year; ++l)
    242242  {
    243     if(year > l->year || month > l->month || day > l->day)
     243    if(year > l->year || month > l->month || (month == l->month && day > l->day))
    244244       ls = l->taicount - GPSLEAPSTART;
    245245  }
     
    16851685
    16861686#ifndef NO_RTCM3_MAIN
    1687 static char datestr[]     = "$Date: 2008/12/02 15:50:20 $";
     1687static char datestr[]     = "$Date: 2008/12/03 08:33:16 $";
    16881688
    16891689/* The string, which is send as agent in HTTP request */
Note: See TracChangeset for help on using the changeset viewer.