Changeset 146 in ntrip for trunk/BNC/bncgetthread.cpp


Ignore:
Timestamp:
Sep 8, 2006, 8:27:37 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r145 r146  
    122122  if (_socket->canReadLine()) {
    123123    QString line = _socket->readLine();
     124    if (line.indexOf("Unauthorized") != -1) {
     125      emit(newMessage(("Caster Response:\n" + line).toAscii()));
     126      exit(1);
     127    }
    124128    if (line.indexOf("ICY 200 OK") != 0) {
    125129      emit(newMessage(("Wrong Caster Response:\n" + line).toAscii()));
     
    199203    emit error(_staID);
    200204  }
     205  blockSignals(true);
    201206  QThread::exit(exitCode);
    202207}
Note: See TracChangeset for help on using the changeset viewer.