Changeset 339 in ntrip for trunk/rtcm3torinex
- Timestamp:
- Nov 29, 2006, 11:43:15 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/rtcm3torinex/rtcm3torinex.c ¶
r328 r339 1 1 /* 2 2 Converter for RTCM3 data to RINEX. 3 $Id: rtcm3torinex.c,v 1.1 22006/11/23 14:39:50stoecker Exp $3 $Id: rtcm3torinex.c,v 1.13 2006/11/24 09:53:42 stoecker Exp $ 4 4 Copyright (C) 2005-2006 by Dirk Stoecker <stoecker@euronik.eu> 5 5 … … 51 51 52 52 /* CVS revision and version */ 53 static char revisionstr[] = "$Revision: 1.1 2$";53 static char revisionstr[] = "$Revision: 1.13 $"; 54 54 55 55 static uint32_t CRC24(long size, const unsigned char *buf) … … 990 990 991 991 #ifndef NO_RTCM3_MAIN 992 static char datestr[] = "$Date: 2006/11/2 3 14:39:50$";992 static char datestr[] = "$Date: 2006/11/24 09:53:42 $"; 993 993 994 994 /* The string, which is send as agent in HTTP request */ … … 1334 1334 exit(1); 1335 1335 } 1336 i += encode(buf+i, MAXDATASIZE-i- 5, args.user, args.password);1337 if(i > MAXDATASIZE- 5)1336 i += encode(buf+i, MAXDATASIZE-i-4, args.user, args.password); 1337 if(i > MAXDATASIZE-4) 1338 1338 { 1339 1339 RTCM3Error("Username and/or password too long\n"); 1340 1340 exit(1); 1341 1341 } 1342 snprintf(buf+i, 5, "\r\n\r\n"); 1343 i += 5; 1342 buf[i++] = '\r'; 1343 buf[i++] = '\n'; 1344 buf[i++] = '\r'; 1345 buf[i++] = '\n'; 1344 1346 } 1345 1347 if(send(sockfd, buf, (size_t)i, 0) != i)
Note:
See TracChangeset
for help on using the changeset viewer.