summaryrefslogtreecommitdiffstats
path: root/kdecore/network/ksocketbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/network/ksocketbase.cpp')
-rw-r--r--kdecore/network/ksocketbase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdecore/network/ksocketbase.cpp b/kdecore/network/ksocketbase.cpp
index 1a486ee16..f5410f3e8 100644
--- a/kdecore/network/ksocketbase.cpp
+++ b/kdecore/network/ksocketbase.cpp
@@ -291,7 +291,7 @@ KActiveSocketBase::~KActiveSocketBase()
int KActiveSocketBase::getch()
{
unsigned char c;
- if (readBlock((char*)&c, 1) != 1)
+ if (tqreadBlock((char*)&c, 1) != 1)
return -1;
return c;
@@ -300,7 +300,7 @@ int KActiveSocketBase::getch()
int KActiveSocketBase::putch(int ch)
{
unsigned char c = (unsigned char)ch;
- if (writeBlock((char*)&c, 1) != 1)
+ if (tqwriteBlock((char*)&c, 1) != 1)
return -1;
return c;