summaryrefslogtreecommitdiffstats
path: root/tdecore/network/khttpproxysocketdevice.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-23 11:24:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-23 11:24:09 +0900
commitd42f9ae842840a825c4ad4f7341f82003127c8f6 (patch)
treebd64982422408b4a7662280134119037ece4da3b /tdecore/network/khttpproxysocketdevice.cpp
parent73dba53e4a36a31d7c803806706cc8a17a245e5c (diff)
downloadtdelibs-d42f9ae842840a825c4ad4f7341f82003127c8f6.tar.gz
tdelibs-d42f9ae842840a825c4ad4f7341f82003127c8f6.zip
Replaced various '#define' with actual strings - part 2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/network/khttpproxysocketdevice.cpp')
-rw-r--r--tdecore/network/khttpproxysocketdevice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/network/khttpproxysocketdevice.cpp b/tdecore/network/khttpproxysocketdevice.cpp
index a5fad9cbe..980fa39d5 100644
--- a/tdecore/network/khttpproxysocketdevice.cpp
+++ b/tdecore/network/khttpproxysocketdevice.cpp
@@ -182,7 +182,7 @@ bool KHttpProxySocketDevice::parseServerReply()
if (!d->request.isEmpty())
{
// send request
- TQ_LONG written = tqwriteBlock(d->request, d->request.length());
+ TQ_LONG written = writeBlock(d->request, d->request.length());
if (written < 0)
{
tqDebug("KHttpProxySocketDevice: would block writing request!");
@@ -230,7 +230,7 @@ bool KHttpProxySocketDevice::parseServerReply()
{
// no, headers not yet finished...
// consume data from socket
- tqreadBlock(buf.data(), avail);
+ readBlock(buf.data(), avail);
d->reply += buf.data();
setError(IO_ConnectError, InProgress);
return true;
@@ -241,7 +241,7 @@ bool KHttpProxySocketDevice::parseServerReply()
d->reply += fullHeaders.mid(d->reply.length(), index + 4);
// consume from socket
- tqreadBlock(buf.data(), index + 4);
+ readBlock(buf.data(), index + 4);
}
else
{