Changeset 31 in ntrip


Ignore:
Timestamp:
Apr 27, 2006, 11:44:17 AM (18 years ago)
Author:
stoecker
Message:

minor fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ntripclient/NtripLinuxClient.c

    r26 r31  
    11/*
    22  Easy example NTRIP client for Linux/Unix.
    3   $Id: NtripLinuxClient.c,v 1.14 2005/11/22 14:26:41 stoecker Exp $
     3  $Id: NtripLinuxClient.c,v 1.15 2005/12/06 16:50:26 euronav Exp $
    44  Copyright (C) 2003-2005 by Dirk Stoecker <soft@dstoecker.de>
    55   
     
    3838
    3939/* CVS revision and version */
    40 static char revisionstr[] = "$Revision: 1.14 $";
    41 static char datestr[]     = "$Date: 2005/11/22 14:26:41 $";
     40static char revisionstr[] = "$Revision: 1.15 $";
     41static char datestr[]     = "$Date: 2005/12/06 16:50:26 $";
    4242
    4343struct Args
     
    239239      "Authorization: Basic "
    240240      , args.data, AGENTSTRING, revisionstr);
    241       if(i > MAXDATASIZE-40 && i < 0) /* second check for old glibc */
     241      if(i > MAXDATASIZE-40 || i < 0) /* second check for old glibc */
    242242      {
    243243        fprintf(stderr, "Requested data too long\n");
Note: See TracChangeset for help on using the changeset viewer.