Changeset 9 in ntrip for trunk/ntripclient


Ignore:
Timestamp:
Jan 3, 2005, 12:33:39 PM (15 years ago)
Author:
stoecker
Message:

fixed for GNCaster

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ntripclient/NtripLinuxClient.c

    r8 r9  
    11/*
    22  Easy example NTRIP client for Linux/Unix.
    3   $Id: NtripLinuxClient.c,v 1.5 2004/11/25 12:47:16 stoecker Exp $
     3  $Id: NtripLinuxClient.c,v 1.6 2004/12/13 16:41:41 stoecker Exp $
    44  Copyright (C) 2003 by Dirk Stoecker <stoecker@epost.de>
    55   
     
    2525  1.2   2003-02-25 stoecker    fixed agent string
    2626  1.6   2004-12-13 stoecker    fixed server string
     27  1.7   2005-01-03 stoecker    fixed for GNCaster access
    2728*/
    2829
     
    4546
    4647/* CVS revision and version */
    47 static char revisionstr[] = "$Revision: 1.5 $";
    48 static char datestr[]     = "$Date: 2004/11/25 12:47:16 $";
     48static char revisionstr[] = "$Revision: 1.6 $";
     49static char datestr[]     = "$Date: 2004/12/13 16:41:41 $";
    4950
    5051struct Args
     
    264265        if(!k)
    265266        {
    266           if(numbytes != 12 || strncmp("ICY 200 OK\r\n", buf, 12))
     267          if(numbytes < 12 || strncmp("ICY 200 OK\r\n", buf, 12))
    267268          {
    268269            fprintf(stderr, "Could not get the requested data\n");
Note: See TracChangeset for help on using the changeset viewer.