summaryrefslogtreecommitdiffstats
path: root/tdecore/network/ksockssocketdevice.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:49:35 +0900
commit89c8032171eb722341972a56d0a0c8a003042511 (patch)
treefcc02c37f4280c91fffd3fe2dd7537846f78221a /tdecore/network/ksockssocketdevice.cpp
parente84b6d8935842fb8dcee9dc42f8f35f36ee72748 (diff)
downloadtdelibs-89c8032171eb722341972a56d0a0c8a003042511.tar.gz
tdelibs-89c8032171eb722341972a56d0a0c8a003042511.zip
Replaced various '#define' with actual strings - part 2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d42f9ae842840a825c4ad4f7341f82003127c8f6)
Diffstat (limited to 'tdecore/network/ksockssocketdevice.cpp')
-rw-r--r--tdecore/network/ksockssocketdevice.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/network/ksockssocketdevice.cpp b/tdecore/network/ksockssocketdevice.cpp
index b7171999c..c4ac6b4dc 100644
--- a/tdecore/network/ksockssocketdevice.cpp
+++ b/tdecore/network/ksockssocketdevice.cpp
@@ -214,7 +214,7 @@ static int socks_read_common(int sockfd, char *data, TQ_ULONG maxlen, TDESocketA
return 0;
}
-TQ_LONG KSocksSocketDevice::tqreadBlock(char *data, TQ_ULONG maxlen)
+TQ_LONG KSocksSocketDevice::readBlock(char *data, TQ_ULONG maxlen)
{
resetError();
if (m_sockfd == -1)
@@ -235,7 +235,7 @@ TQ_LONG KSocksSocketDevice::tqreadBlock(char *data, TQ_ULONG maxlen)
return retval;
}
-TQ_LONG KSocksSocketDevice::tqreadBlock(char *data, TQ_ULONG maxlen, TDESocketAddress &from)
+TQ_LONG KSocksSocketDevice::readBlock(char *data, TQ_ULONG maxlen, TDESocketAddress &from)
{
resetError();
if (m_sockfd == -1)
@@ -298,12 +298,12 @@ TQ_LONG KSocksSocketDevice::peekBlock(char *data, TQ_ULONG maxlen, TDESocketAddr
return retval;
}
-TQ_LONG KSocksSocketDevice::tqwriteBlock(const char *data, TQ_ULONG len)
+TQ_LONG KSocksSocketDevice::writeBlock(const char *data, TQ_ULONG len)
{
- return tqwriteBlock(data, len, TDESocketAddress());
+ return writeBlock(data, len, TDESocketAddress());
}
-TQ_LONG KSocksSocketDevice::tqwriteBlock(const char *data, TQ_ULONG len, const TDESocketAddress& to)
+TQ_LONG KSocksSocketDevice::writeBlock(const char *data, TQ_ULONG len, const TDESocketAddress& to)
{
resetError();
if (m_sockfd == -1)