Changeset 146 in ntrip for trunk/BNC/bncgetthread.cpp
- Timestamp:
- Sep 8, 2006, 8:27:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r145 r146 122 122 if (_socket->canReadLine()) { 123 123 QString line = _socket->readLine(); 124 if (line.indexOf("Unauthorized") != -1) { 125 emit(newMessage(("Caster Response:\n" + line).toAscii())); 126 exit(1); 127 } 124 128 if (line.indexOf("ICY 200 OK") != 0) { 125 129 emit(newMessage(("Wrong Caster Response:\n" + line).toAscii())); … … 199 203 emit error(_staID); 200 204 } 205 blockSignals(true); 201 206 QThread::exit(exitCode); 202 207 }
Note:
See TracChangeset
for help on using the changeset viewer.