Changeset 304 in ntrip
- Timestamp:
- Nov 13, 2006, 11:19:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncrinex.cpp
r303 r304 142 142 143 143 if (socket) { 144 bool firstLineRead = false; 144 145 while (true) { 145 146 if (socket->canReadLine()) { 146 147 QString line = socket->readLine(); 147 //// cout << line.toAscii().data() << endl; 148 line.chop(1); 149 if (line.indexOf("RINEX VERSION") != -1) { 150 line = " 2.10 OBSERVATION DATA M (MIXED)" 151 " RINEX VERSION / TYPE"; 152 firstLineRead = true; 153 } 154 if (firstLineRead) { 155 _headerLines.append( line ); 156 if (line.indexOf("END OF HEADER") != -1) { 157 break; 158 } 159 } 148 160 } 149 161 else {
Note:
See TracChangeset
for help on using the changeset viewer.