Changeset 934 in ntrip for trunk/BNC/bncapp.cpp
- Timestamp:
- Jun 8, 2008, 4:33:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncapp.cpp
r901 r934 457 457 QTcpSocket* sock = is.next(); 458 458 if (sock->state() == QAbstractSocket::ConnectedState) { 459 int fd = sock->socketDescriptor(); 460 if (::write(fd, allLines.data(), allLines.size()) != allLines.size()) { 459 if (sock->write(allLines) == -1) { 461 460 delete sock; 462 461 is.remove(); … … 531 530 QTcpSocket* sock = is.next(); 532 531 if (sock->state() == QAbstractSocket::ConnectedState) { 533 int fd = sock->socketDescriptor(); 534 if (::write(fd, allLines.data(), allLines.size()) != allLines.size()) { 532 if (sock->write(allLines) == -1) { 535 533 delete sock; 536 534 is.remove();
Note:
See TracChangeset
for help on using the changeset viewer.