Changeset 596 in ntrip for trunk/ntripclient


Ignore:
Timestamp:
Dec 12, 2007, 10:47:31 AM (12 years ago)
Author:
stoecker
Message:

minor fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ntripclient/ntripclient.c

    r595 r596  
    11/*
    22  Easy example NTRIP client for POSIX.
    3   $Id: ntripclient.c,v 1.36 2007/11/20 12:54:05 stoecker Exp $
     3  $Id: ntripclient.c,v 1.37 2007/12/12 09:45:23 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.36 $";
    60 static char datestr[]     = "$Date: 2007/11/20 12:54:05 $";
     59static char revisionstr[] = "$Revision: 1.37 $";
     60static char datestr[]     = "$Date: 2007/12/12 09:45:23 $";
    6161
    6262enum MODE { HTTP = 1, RTSP = 2, NTRIP1 = 3, AUTO = 4, END };
     
    703703              memset(&casterRTP, 0, sizeof(casterRTP));
    704704              casterRTP.sin_family = AF_INET;
    705               casterRTP.sin_port   = htons(((uint16_t)serverport));
     705              casterRTP.sin_port   = htons(serverport);
    706706              casterRTP.sin_addr   = *((struct in_addr *)he->h_addr);
    707707
Note: See TracChangeset for help on using the changeset viewer.