Changeset 9770 in ntrip for trunk/BNC/src/bnccore.cpp
- Timestamp:
- Jun 22, 2022, 3:18:32 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bnccore.cpp
r9768 r9770 493 493 const QString& strV2, const QString& strV3, 494 494 const QString& strV4) { 495 QString strVx; 496 if (_rinexVers == 2) { 497 strVx = strV2; 498 } 499 else if (_rinexVers == 3) { 500 strVx = strV3; 501 } 502 else if (_rinexVers == 4) { 503 strVx = strV4; 504 } 495 505 496 506 // Output into file 497 507 // ---------------- 498 508 if (printFile && stream) { 499 if (_rinexVers == 2) { 500 *stream << strV2.toLatin1(); 501 } 502 else if (_rinexVers == 3) { 503 *stream << strV3.toLatin1(); 504 } 505 else if (_rinexVers == 4) { 506 *stream << strV4.toLatin1(); 507 } 509 *stream << strVx.toLatin1(); 508 510 stream->flush(); 509 511 } … … 516 518 QTcpSocket* sock = is.next(); 517 519 if (sock->state() == QAbstractSocket::ConnectedState) { 518 if (sock->write(strV 3.toLatin1()) == -1) {520 if (sock->write(strVx.toLatin1()) == -1) { 519 521 delete sock; 520 522 is.remove();
Note:
See TracChangeset
for help on using the changeset viewer.