Changeset 1813 in ntrip for trunk/BNC/bncnetqueryv1.cpp
- Timestamp:
- Apr 28, 2009, 10:47:11 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncnetqueryv1.cpp
r1716 r1813 57 57 //////////////////////////////////////////////////////////////////////////// 58 58 void bncNetQueryV1::waitForReadyRead(QByteArray& outData) { 59 60 if (_status == bncNetQuery::fatal) { 61 return; 62 } 63 59 64 if (_socket && _socket->state() == QAbstractSocket::ConnectedState) { 60 65 while (true) { … … 83 88 //////////////////////////////////////////////////////////////////////////// 84 89 void bncNetQueryV1::startRequest(const QUrl& url, const QByteArray& gga) { 90 91 if (_status == bncNetQuery::fatal) { 92 return; 93 } 85 94 86 95 _status = running; … … 212 221 delete _socket; 213 222 _socket = 0; 214 _status = error;223 _status = fatal; 215 224 emit newMessage(_url.path().toAscii().replace(0,1,"") 216 225 + ": Wrong caster response\n"
Note:
See TracChangeset
for help on using the changeset viewer.