Index: trunk/ntripclient/NtripLinuxClient.c
===================================================================
--- trunk/ntripclient/NtripLinuxClient.c	(revision 8)
+++ trunk/ntripclient/NtripLinuxClient.c	(revision 9)
@@ -1,5 +1,5 @@
 /*
   Easy example NTRIP client for Linux/Unix.
-  $Id: NtripLinuxClient.c,v 1.5 2004/11/25 12:47:16 stoecker Exp $
+  $Id: NtripLinuxClient.c,v 1.6 2004/12/13 16:41:41 stoecker Exp $
   Copyright (C) 2003 by Dirk Stoecker <stoecker@epost.de>
     
@@ -25,4 +25,5 @@
   1.2   2003-02-25 stoecker    fixed agent string
   1.6   2004-12-13 stoecker    fixed server string
+  1.7   2005-01-03 stoecker    fixed for GNCaster access
 */
 
@@ -45,6 +46,6 @@
 
 /* CVS revision and version */
-static char revisionstr[] = "$Revision: 1.5 $";
-static char datestr[]     = "$Date: 2004/11/25 12:47:16 $";
+static char revisionstr[] = "$Revision: 1.6 $";
+static char datestr[]     = "$Date: 2004/12/13 16:41:41 $";
 
 struct Args
@@ -264,5 +265,5 @@
         if(!k)
         {
-          if(numbytes != 12 || strncmp("ICY 200 OK\r\n", buf, 12))
+          if(numbytes < 12 || strncmp("ICY 200 OK\r\n", buf, 12))
           {
             fprintf(stderr, "Could not get the requested data\n");
