Changeset 1125 in ntrip
- Timestamp:
- Sep 20, 2008, 1:23:36 PM (16 years ago)
- Location:
- trunk/BNS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnseph.cpp
r1101 r1125 113 113 114 114 int nBytes = 0; 115 116 115 t_eph* eph = 0; 116 117 117 QByteArray line = waitForLine(_socket); 118 119 if (line.isEmpty()) { 120 return; 121 } 118 122 119 123 if (_echoStream) { … … 144 148 for (int ii = 2; ii <= numlines; ii++) { 145 149 QByteArray line = waitForLine(_socket); 150 if (line.isEmpty()) { 151 delete eph; 152 return; 153 } 146 154 147 155 if (_echoStream) { -
trunk/BNS/bnsutils.cpp
r1100 r1125 157 157 } 158 158 else { 159 if (socket->state() != QAbstractSocket::ConnectedState) { 160 return ""; 161 } 159 162 socket->waitForReadyRead(10); 160 163 }
Note:
See TracChangeset
for help on using the changeset viewer.