Changeset 3662 in ntrip
- Timestamp:
- Feb 3, 2012, 6:19:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rnxnavfile.cpp
r3659 r3662 105 105 t_irc t_rnxNavFile::getNextEph(t_eph* eph) { 106 106 107 eph = 0; 108 107 109 while (_stream->status() == QTextStream::Ok && !_stream->atEnd()) { 108 110 QString line = _stream->readLine(); … … 142 144 eph = new t_ephGal(version(), lines); 143 145 } 144 else { 145 return failure; 146 } 147 if (!eph->ok()) { 148 delete eph; 149 eph = 0; 150 return failure; 146 if (eph && eph->ok()) { 147 return success; 151 148 } 152 149 } 153 150 154 return success; 151 delete eph; 152 eph = 0; 153 return failure; 155 154 }
Note:
See TracChangeset
for help on using the changeset viewer.