Changeset 479 in ntrip for trunk/rtcm3torinex/rtcm3torinex.c


Ignore:
Timestamp:
Aug 14, 2007, 12:14:37 PM (17 years ago)
Author:
stoecker
Message:

fixed wrong check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/rtcm3torinex.c

    r478 r479  
    11/*
    22  Converter for RTCM3 data to RINEX.
    3   $Id: rtcm3torinex.c,v 1.19 2007/08/06 07:42:25 stoecker Exp $
     3  $Id: rtcm3torinex.c,v 1.20 2007/08/06 07:43:26 stoecker Exp $
    44  Copyright (C) 2005-2006 by Dirk Stoecker <stoecker@euronik.eu>
    55
     
    5151
    5252/* CVS revision and version */
    53 static char revisionstr[] = "$Revision: 1.19 $";
     53static char revisionstr[] = "$Revision: 1.20 $";
    5454
    5555#ifndef COMPILEDATE
     
    10211021
    10221022#ifndef NO_RTCM3_MAIN
    1023 static char datestr[]     = "$Date: 2007/08/06 07:42:25 $";
     1023static char datestr[]     = "$Date: 2007/08/06 07:43:26 $";
    10241024
    10251025/* The string, which is send as agent in HTTP request */
     
    13831383      "Authorization: Basic "
    13841384      , args.data, AGENTSTRING, revisionstr);
    1385       if(i > MAXDATASIZE-40 && i < 0) /* second check for old glibc */
     1385      if(i > MAXDATASIZE-40 || i < 0) /* second check for old glibc */
    13861386      {
    13871387        RTCM3Error("Requested data too long\n");
Note: See TracChangeset for help on using the changeset viewer.