Changeset 766 in ntrip for trunk/ntripclient


Ignore:
Timestamp:
Apr 4, 2008, 12:04:39 PM (12 years ago)
Author:
stoecker
Message:

fixed chunky

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ntripclient/ntripclient.c

    r598 r766  
    11/*
    22  Easy example NTRIP client for POSIX.
    3   $Id: ntripclient.c,v 1.38 2007/12/12 09:47:31 stoecker Exp $
     3  $Id: ntripclient.c,v 1.39 2007/12/14 07:22:29 stoecker Exp $
    44  Copyright (C) 2003-2005 by Dirk Stoecker <soft@dstoecker.de>
    55   
     
    5757
    5858/* CVS revision and version */
    59 static char revisionstr[] = "$Revision: 1.38 $";
    60 static char datestr[]     = "$Date: 2007/12/12 09:47:31 $";
     59static char revisionstr[] = "$Revision: 1.39 $";
     60static char datestr[]     = "$Date: 2007/12/14 07:22:29 $";
    6161
    6262enum MODE { HTTP = 1, RTSP = 2, NTRIP1 = 3, AUTO = 4, END };
     
    964964                    else if(i >= 'A' && i <= 'F') chunksize = chunksize*16+i-'A'+10;
    965965                    else if(i == '\r') ++chunkymode;
     966                    else if(i == ';') chunkymode = 5;
    966967                    else stop = 1;
    967968                    break;
     
    980981                      chunkymode = 1;
    981982                    break;
     983                  case 5:
     984                    if(i == '\r') chunkymode = 3;
     985                    break;
    982986                  }
    983987                }
Note: See TracChangeset for help on using the changeset viewer.