Changeset 885 in ntrip for trunk/BNC


Ignore:
Timestamp:
May 8, 2008, 4:19:46 PM (17 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncapp.cpp

    r841 r885  
    485485  converttime(&cti, ww, tow);
    486486
    487   int ii = ep->tk-3*60*60;
    488   if (ii < 0) {
    489     ii += 86400;
     487  int tk = ep->tk-3*60*60;
     488  if (tk < 0) {
     489    tk += 86400;
    490490  }
    491491
     
    493493    line.sprintf("R%02d %04d %02d %02d %02d %02d %02d%19.12e%19.12e%19.12e\n",
    494494                 ep->almanac_number, cti.year, cti.month, cti.day, cti.hour,
    495                  cti.minute, cti.second, -ep->tau, ep->gamma, (double) ii);
     495                 cti.minute, cti.second, -ep->tau, ep->gamma, (double) tk);
    496496  }
    497497  else if (_rinexVers == 2) {
     
    499499                 ep->almanac_number, cti.year%100, cti.month, cti.day,
    500500                 cti.hour, cti.minute, (double) cti.second, -ep->tau,
    501                  ep->gamma, (double) ii);
     501                 ep->gamma, (double) tk);
    502502  }
    503503  allLines += line;
Note: See TracChangeset for help on using the changeset viewer.