diff options
Diffstat (limited to 'servers/auth_server_lin/src/auth_conn.cpp')
-rw-r--r-- | servers/auth_server_lin/src/auth_conn.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/servers/auth_server_lin/src/auth_conn.cpp b/servers/auth_server_lin/src/auth_conn.cpp index 65c131f..177a0e3 100644 --- a/servers/auth_server_lin/src/auth_conn.cpp +++ b/servers/auth_server_lin/src/auth_conn.cpp @@ -193,7 +193,7 @@ void AuthSocket::servLoop() { m_servClientTimeout->start(5000, TRUE); } if (m_servClientSocket->state() == TQSocket::Connected) { - if (m_servClientSocket->canReadLine()) { + if (m_servClientSocket->canReadData()) { TQDataStream clientDS(m_servClientSocket); TQString server_reply; @@ -237,11 +237,11 @@ void AuthSocket::servLoop() { TQByteArray ba(8192); TQ_ULONG reclen; - if (canReadLine()) { + if (canReadData()) { reclen = readBlock(ba.data(), 8192); m_servClientSocket->writeBlock(ba.data(), reclen); } - if (m_servClientSocket->canReadLine()) { + if (m_servClientSocket->canReadData()) { reclen = m_servClientSocket->readBlock(ba.data(), 8192); writeBlock(ba.data(), reclen); } @@ -267,7 +267,7 @@ void AuthSocket::commandLoop() { m_criticalSection++; try { if (state() == TQSocket::Connected) { - if (canReadLine()) { + if (canReadData()) { TQString command; TQDataStream ds(this); |