Changeset 793 in ntrip for trunk


Ignore:
Timestamp:
Apr 8, 2008, 4:14:15 PM (17 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r792 r793  
    174174  // ------------
    175175  while (true) {
    176     if (_clkSocket && _clkSocket->state() == QAbstractSocket::ConnectedState) {
    177       if (!_clkSocket->canReadLine()) {
    178         _clkSocket->waitForReadyRead(10);
    179       }
    180       else {
    181         readEpoch();
    182       }
     176    if (_clkSocket &&
     177        _clkSocket->state() == QAbstractSocket::ConnectedState &&
     178        _clkSocket->canReadLine()) {
     179      readEpoch();
    183180    }
    184181    else {
     
    209206
    210207  for (int ii = 1; ii <= numSat; ii++) {
    211     if (!_clkSocket->canReadLine()) {
    212       _clkSocket->waitForReadyRead(10);
    213     }
    214208    line = _clkSocket->readLine();
    215209
  • trunk/BNS/bnseph.cpp

    r791 r793  
    8282  for (int ii = 1; ii <= NUMLINES; ii++) {
    8383
    84     if (!_socket->canReadLine()) {
    85       _socket->waitForReadyRead(10);
    86     }
    87 
    8884    QByteArray line = _socket->readLine();
    8985
Note: See TracChangeset for help on using the changeset viewer.