Changeset 9189 in ntrip for trunk/BNC/src
- Timestamp:
- Oct 29, 2020, 12:00:21 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r9179 r9189 748 748 || co.NumberOfSat[CLOCKORBIT_SATSBAS] > 0 749 749 || co.NumberOfSat[CLOCKORBIT_SATBDS] > 0) { 750 char obuffer[CLOCKORBIT_BUFFERSIZE] ;750 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 751 751 int len = _ssrCorr->MakeClockOrbit(&co, _ssrCorr->COTYPE_AUTO, 0, obuffer, sizeof(obuffer)); 752 752 if (len > 0) { … … 760 760 else { 761 761 if (co.NumberOfSat[CLOCKORBIT_SATGPS] > 0) { 762 char obuffer[CLOCKORBIT_BUFFERSIZE] ;762 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 763 763 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 764 764 co.UpdateInterval = ephUpdInd; … … 782 782 } 783 783 if (co.NumberOfSat[CLOCKORBIT_SATGLONASS] > 0) { 784 char obuffer[CLOCKORBIT_BUFFERSIZE] ;784 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 785 785 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 786 786 co.UpdateInterval = ephUpdInd; … … 803 803 } 804 804 if (co.NumberOfSat[CLOCKORBIT_SATGALILEO] > 0) { 805 char obuffer[CLOCKORBIT_BUFFERSIZE] ;805 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 806 806 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 807 807 co.UpdateInterval = ephUpdInd; … … 823 823 } 824 824 if (co.NumberOfSat[CLOCKORBIT_SATQZSS] > 0) { 825 char obuffer[CLOCKORBIT_BUFFERSIZE] ;825 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 826 826 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 827 827 co.UpdateInterval = ephUpdInd; … … 842 842 } 843 843 if (co.NumberOfSat[CLOCKORBIT_SATSBAS] > 0) { 844 char obuffer[CLOCKORBIT_BUFFERSIZE] ;844 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 845 845 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 846 846 co.UpdateInterval = ephUpdInd; … … 860 860 } 861 861 if (co.NumberOfSat[CLOCKORBIT_SATBDS] > 0) { 862 char obuffer[CLOCKORBIT_BUFFERSIZE] ;862 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 863 863 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 864 864 co.UpdateInterval = ephUpdInd; … … 888 888 || bias.NumberOfSat[CLOCKORBIT_SATSBAS] > 0 889 889 || bias.NumberOfSat[CLOCKORBIT_SATBDS] > 0) { 890 char obuffer[CLOCKORBIT_BUFFERSIZE] ;890 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 891 891 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 892 892 int len = _ssrCorr->MakeCodeBias(&bias, _ssrCorr->CBTYPE_AUTO, 0, obuffer, sizeof(obuffer)); … … 907 907 || phasebias.NumberOfSat[CLOCKORBIT_SATBDS] > 0) 908 908 && (_phaseBiasInformationDecoded)) { 909 char obuffer[CLOCKORBIT_BUFFERSIZE] ;909 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 910 910 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 911 911 int len = _ssrCorr->MakePhaseBias(&phasebias, _ssrCorr->PBTYPE_AUTO, 0, obuffer, sizeof(obuffer)); … … 920 920 QByteArray hlpBufferVtec; 921 921 if (vtec.NumLayers > 0) { 922 char obuffer[CLOCKORBIT_BUFFERSIZE] ;922 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 923 923 int len = _ssrCorr->MakeVTEC(&vtec, 0, obuffer, sizeof(obuffer)); 924 924 if (len > 0) {
Note:
See TracChangeset
for help on using the changeset viewer.