diff options
author | Michele Calgaro <[email protected]> | 2023-11-23 11:24:09 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-23 11:49:35 +0900 |
commit | 89c8032171eb722341972a56d0a0c8a003042511 (patch) | |
tree | fcc02c37f4280c91fffd3fe2dd7537846f78221a /tdecore/network/tdesocketbuffer.cpp | |
parent | e84b6d8935842fb8dcee9dc42f8f35f36ee72748 (diff) | |
download | tdelibs-89c8032171eb722341972a56d0a0c8a003042511.tar.gz tdelibs-89c8032171eb722341972a56d0a0c8a003042511.zip |
Replaced various '#define' with actual strings - part 2
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit d42f9ae842840a825c4ad4f7341f82003127c8f6)
Diffstat (limited to 'tdecore/network/tdesocketbuffer.cpp')
-rw-r--r-- | tdecore/network/tdesocketbuffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/network/tdesocketbuffer.cpp b/tdecore/network/tdesocketbuffer.cpp index 49bdbe31e..36e64e0f0 100644 --- a/tdecore/network/tdesocketbuffer.cpp +++ b/tdecore/network/tdesocketbuffer.cpp @@ -274,7 +274,7 @@ TQ_LONG TDESocketBuffer::sendTo(KActiveSocketBase* dev, TQ_LONG len) } // now try to write those bytes - TQ_LONG wrote = dev->tqwriteBlock(buf, count); + TQ_LONG wrote = dev->writeBlock(buf, count); if (wrote == -1) // error? @@ -315,7 +315,7 @@ TQ_LONG TDESocketBuffer::receiveFrom(KActiveSocketBase* dev, TQ_LONG len) // now do the reading TQByteArray a(len); - len = dev->tqreadBlock(a.data(), len); + len = dev->readBlock(a.data(), len); if (len == -1) // error? |