summaryrefslogtreecommitdiffstats
path: root/tdecore/network/tdesocketbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/network/tdesocketbase.cpp')
-rw-r--r--tdecore/network/tdesocketbase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/network/tdesocketbase.cpp b/tdecore/network/tdesocketbase.cpp
index 66decb15d..0b2ef90d7 100644
--- a/tdecore/network/tdesocketbase.cpp
+++ b/tdecore/network/tdesocketbase.cpp
@@ -1,4 +1,4 @@
-/* -*- C++ -*-
+/*
* Copyright (C) 2003-2005 Thiago Macieira <thiago.macieira@kdemail.net>
*
*
@@ -291,7 +291,7 @@ KActiveSocketBase::~KActiveSocketBase()
int KActiveSocketBase::getch()
{
unsigned char c;
- if (tqreadBlock((char*)&c, 1) != 1)
+ if (readBlock((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 (tqwriteBlock((char*)&c, 1) != 1)
+ if (writeBlock((char*)&c, 1) != 1)
return -1;
return c;