Changeset 5566 in ntrip for trunk/BNC/src/bncpppclient.cpp
- Timestamp:
- Nov 23, 2013, 6:26:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncpppclient.cpp
r5565 r5566 295 295 } 296 296 cc->readLine(line); 297 checkProviderID(cc); 297 298 _corr_tt = cc->tClk; 298 299 } … … 527 528 } 528 529 } 530 531 // 532 //////////////////////////////////////////////////////////////////////////// 533 void bncPPPclient::checkProviderID(const t_corr* corr) { 534 535 bool alreadySet = false; 536 bool different = false; 537 538 for (unsigned ii = 0; ii < 3; ii++) { 539 if (_providerID.streamID[ii] != -1) { 540 alreadySet = true; 541 } 542 if (_providerID.streamID[ii] != corr->streamID[ii]) { 543 different = true; 544 } 545 _providerID.streamID[ii] = corr->streamID[ii]; 546 } 547 548 if (alreadySet && different) { 549 _providerID.reset = true; 550 } 551 }
Note:
See TracChangeset
for help on using the changeset viewer.