Changeset 796 in ntrip for trunk/BNS/bns.cpp


Ignore:
Timestamp:
Apr 8, 2008, 4:44:02 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r795 r796  
    174174  // ------------
    175175  while (true) {
    176     if (_clkSocket &&
    177         _clkSocket->state() == QAbstractSocket::ConnectedState &&
    178         _clkSocket->canReadLine()) {
    179       readEpoch();
     176    if (_clkSocket && _clkSocket->state() == QAbstractSocket::ConnectedState) {
     177      if ( _clkSocket->canReadLine()) {
     178        readEpoch();
     179      }
     180      else {
     181        _clkSocket->waitForReadyRead(10);
     182      }
    180183    }
    181184    else {
Note: See TracChangeset for help on using the changeset viewer.